程序员人生 网站导航

fatal error: malformed or corrupted AST file: 'Unable to load module Darwin.

栏目:互联网时间:2014-10-12 13:35:04



xcode5 编译工程,偶然碰到了下面的问题:

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


解决办法为:

点击XCODE的菜单Window,然后选择Organizer,在弹出的对话框的最上面选择Projects, 如下对话框。


然后选择右边的 Delete 按钮,删除继承的数据,在编译即可。


------分隔线----------------------------
------分隔线----------------------------

最新技术推荐