您的位置:首页 > 大数据 > 人工智能

Malformed or corrupted AST file: 'Unable to load module "/Users/fishmai/Library/Developer/Xcode/Deri

2014-12-31 17:29 543 查看
1、

Had same problem. Clearing derived data folder solved the issue for me. In Xcode goto Window->Organizer->Projects select your project and press delete button next to Derived data.

2、If this doesn't work, you can try to do a Product->Clean (
Cmd
+
Shift
+
k
).

3、In my case the SSD was broken. You can verify the disk with apples Disk Utility

4、In my case I had a spaces in my plist file name.

I removed it, and changed Info.plist File key in target Build Settings

5、

I got same error on executing xcodebuild command of Xcode6-beta5.app coexisting with Xcode.app (Xcode 5).

In this case I added
-derivedDataPath
to
separate ModuleCache from the one for default Xcode.app.
xcodebuild -derivedDataPath ./build/Xcode6-beta5/DerivedData ....


6、

I tried deleting derived data and Clean project several times and it doesn't work. The file in my warning is an old file I already deleted from Project Navigator and all the Build Settings. But it keeps showing up and gives me this error. The error only occurs
on Simulator, but not on device. Which is really really weird. :/

For some reason, I switched branch to some other branch and switch back and it works again. If anyone even know how that could work please tell me
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐