fatal error: file has been modified since the precompiled header

编译时报错 :

fatal error: file '/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h' has been modified since the precompiled header '/Users/administrator/Library/Developer/Xcode/DerivedData/ModuleCache/220IXKWL5NEDF/UIKit.pcm' was built note: after modifying system headers, please delete the module cache at '/Users/administrator/Library/Developer/Xcode/DerivedData/ModuleCache/220IXKWL5NEDF' 1 error generated.

解决方案:错误信息中,已经给出了提示,将自己对应的ModuleCache删除掉,然后清理,重新编译,ok。

你可能感兴趣的:(header,precompiled,modified)