我正在运行我的应用程序,而在模拟器和设备上都没有任何问题。突然我得到这个错误:
fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h' has been modified since the precompiled header '/Users/rashidasgari/Library/Developer/Xcode/DerivedData/ModuleCache/SWBH8ZAWBXAH/UIKit.pcm' was built
note: after modifying system headers, please delete the module cache at '/Users/rashidasgari/Library/Developer/Xcode/DerivedData/ModuleCache/SWBH8ZAWBXAH'
我尝试了所有可以找到的解决方案,但仍然没有运气。请注意,我尝试在另一台MacBook上运行该应用程序,并且一切正常,没有任何错误。
在尝试了几乎所有Web解决方案之后,我决定重新安装xcode,它终于可以工作了。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句