xcode5:苹果LLVM 5.1误差建设
问题描述:
如果我要跑我在iOS模拟器此错误应用程序时出现:xcode5:苹果LLVM 5.1误差建设
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
是否有人知道这是为什么?
答
您已经以某种方式更改了预编译头文件。此文件列出全球#import
sand #define
s将被包含在项目的所有文件中 - 通常用于导入UIKit
和Foundation
,但您可以添加其他内容。由于这会使项目中的所有文件都过时,这意味着您需要清除派生数据文件夹(选项Apple + Shift - > K),然后重建项目 - 这将重新生成整个项目并解决问题。
+0
非常感谢!它有助于。 –
在[这个问题]是否建议(http://stackoverflow.com/questions/14793329/fixing-file-project-pch-has-been-modified-since-the-precompiled-header-was-bui)不是为你工作? – insys