fatal error: malformed or corrupted AST file: 'Unable to load module Darwin.
来源:程序员人生 发布时间:2014-10-12 13:35:04 阅读次数:2591次
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 按钮,删除继承的数据,在编译即可。
生活不易,码农辛苦
如果您觉得本网站对您的学习有所帮助,可以手机扫描二维码进行捐赠