首页 > 代码库 > iOS "fatal error: malformed or corrupted AST file - Xcode"解决方案

iOS "fatal error: malformed or corrupted AST file - Xcode"解决方案

运行项目时遇见问题:

fatal error: malformed or corrupted AST file: 'Unable to load module 
"/Users/me/Library/Developer/Xcode/DerivedData/ModuleCache/XYZYIE6ZV0OP/Darwin.pcm": 
file not found' note: after modifying system headers, 
please delete the module cache at '/Users/me/Library/Developer/Xcode/DerivedData/ModuleCache/XYZYIE6ZV0OP' 1 error generated.

解决方案:

在Xcode众选择Window-Organizer -Projects,选择你的项目,点击Derived Data旁边的“删除(delete)”按钮。

翻译自:

http://stackoverflow.com/questions/20984166/fatal-error-malformed-or-corrupted-ast-file-xcode




iOS "fatal error: malformed or corrupted AST file - Xcode"解决方案