我在模拟器和设备上运行我的应用程序没有任何问题。突然我收到这个错误:
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 上运行该应用程序,一切正常,没有任何错误。
清洁项目是第一个停靠点(菜单位于Product
).
如果这没有帮助,请删除派生数据。这可以通过Locations
首选项部分或导航到 Finder 中的目录并将其删除(有一点->
首选项中的按钮即可到达那里,或使用Go To Folder...
Finder 中的选项。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)