加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ios – 如何解决xcode 5中的apple LLVM 5.0错误?

发布时间:2020-12-14 19:00:42 所属栏目:百科 来源:网络整理
导读:我在模拟器和设备上运行我的应用程序没有任何问题.突然间我得到了这个错误: fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/UIKit.framework/Head
我在模拟器和设备上运行我的应用程序没有任何问题.突然间我得到了这个错误:

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下的菜单).

如果这没有帮助,请删除派生数据.这可以通过首选项的“位置”部分或导航到Finder中的目录并删除它(在首选项中有一点 – >按钮到达那里,或者在Finder中使用“转到文件夹…”选项.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读