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

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 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值