在开发中遇到了这样的bug:
fatal error: malformed or corrupted AST file: 'Unable to load module "/Users/mac/Library/Developer/Xcode/DerivedData/ModuleCache/343TSDGJVVCHH/Darwin.pcm": module file not found'
note: after modifying system headers, please delete the module cache at '/Users/mac/Library/Developer/Xcode/DerivedData/ModuleCache/343TSDGJVVCHH'
1 error generated.
【XCode】不同版本xcode打开项目报错
解决方法:
点击XCode -> window ->Organizer 选取出问题的project,点击右边delete按钮,重新运行即可。