2014-03-30 32 views
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 

是否有人知道這是爲什麼?

+0

在[這個問題]是否建議(http://stackoverflow.com/questions/14793329/fixing-file-project-pch-has-been-modified-since-the-precompiled-header-was-bui)不是爲你工作? – insys

回答

4

您已經以某種方式更改了預編譯頭文件。此文件列出全球#import sand #define s將被包含在項目的所有文件中 - 通常用於導入UIKitFoundation,但您可以添加其他內容。由於這會使項目中的所有文件都過時,這意味着您需要清除派生數據文件夾(選項Apple + Shift - > K),然後重建項目 - 這將重新生成整個項目並解決問題。

+0

非常感謝!它有助於。 –