1

在开发中遇到了这样的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按钮,重新运行即可。

图片描述


Corwien
6.3k 声望1.6k 粉丝

为者常成,行者常至。