【问题标题】:xcode5: Apple LLVM 5.1 error when buildingxcode5:构建时出现 Apple LLVM 5.1 错误
【发布时间】:2014-03-30 18:39:53
【问题描述】:

如果我要在 iOS 模拟器上运行我的应用程序,则会出现此错误:

fatal error: file '/Users/Patti/Desktop/Picxxr/Picxxr/Picxxr-Prefix.pch' has been modified since the precompiled header '/Users/Patti/Library/Developer/Xcode/DerivedData/Picxxr-gcakojkodoomqcertyparosqruxs/Build/Intermediates/PrecompiledHeaders/Picxxr-Prefix-dpxcuqgwybsqepgyjnhyqvzeyjhk/Picxxr-Prefix.pch.pch' was built

有人知道为什么吗?

【问题讨论】:

标签: objective-c xcode5


【解决方案1】:

您以某种方式更改了预编译的头文件。该文件列出了全局 #import#define 将包含在项目中的所有文件中 - 通常用于导入 UIKitFoundation,尽管您可以添加其他内容。由于这会使项目中的所有文件都过时,这意味着您需要清理派生数据文件夹(选项 Apple+Shift -> K),然后重建项目 - 这将重新生成整个项目并应该解决问题。

【讨论】:

  • 非常感谢!它有帮助。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2017-07-31
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多