Xcode不会编译到模拟器
发布时间:2020-12-14 19:01:08 所属栏目:百科 来源:网络整理
导读:我刚刚通过App Store更新了 Xcode 4.5,这是我之前从Apple开发者帐户获得的版本.由于更新,我无法将任何应用程序编译到模拟器中.我可以编译到设备上,例如我的iPhone. 我收到的错误是 fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms
我刚刚通过App Store更新了
Xcode 4.5,这是我之前从Apple开发者帐户获得的版本.由于更新,我无法将任何应用程序编译到模拟器中.我可以编译到设备上,例如我的iPhone.
我收到的错误是 fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/ Developer/SDKs/iPhoneSimulator6.0.sdk/usr/include/Availability.h' has been modified since the precompiled header was built 1 error generated. 解决方法
进入?/ Library / Developer / Xcode / DerivedData / {project name gobly-gook}并删除包含项目名称的文件夹.
编辑后建议 注意: 默认情况下,库文件夹被隐藏,因此我们无法看到它. 1.通过以下命令取消隐藏?/ Library文件夹,取消隐藏Library文件夹 chflags nohidden ~/Library 现在,您可以将Library文件夹视为/ Users // Library 2.打开finder的GO菜单,按Alt键,Library将作为新菜单项显示. 3.您可以通过终端访问?/ Library文件夹. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |