[ios开发]程序中bug处理Unable to load module

在开发中遇到了这样的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.

《[ios开发]程序中bug处理Unable to load module》

【XCode】不同版本xcode打开项目报错

解决方法:
点击XCode -> window ->Organizer 选取出问题的project,点击右边delete按钮,重新运行即可。

《[ios开发]程序中bug处理Unable to load module》

    原文作者:Corwien
    原文地址: https://segmentfault.com/a/1190000005799575
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞