关于***-Prefix.pch has been modified since the precompiled header was built的错误
2012-11-19 10:16
465 查看
自己在Xcode4.5上写的ios小程序,由于在两台机器上进行了修改。当从一台机器上把源码拷贝到另一台机器上时,出现了如下错误。
fatal error: file'/Volumes/work/iosdev/LoveWeather/LoveWeather/LoveWeather-Prefix.pch' has beenmodified since the precompiled header was built
在网上没有找到合适的解决方法之后,自己试着做了如下修改,程序运行正常了。
错误修改
找到***-Prefix.pch文件,把中间的
#ifdef __OBJC__
#import
<UIKit/UIKit.h>
#import
<Foundation/Foundation.h>
#endif
注释掉。运行程序。Bulid success之后。程序停止运行。解开注释。再运行一次就好了。
fatal error: file'/Volumes/work/iosdev/LoveWeather/LoveWeather/LoveWeather-Prefix.pch' has beenmodified since the precompiled header was built
在网上没有找到合适的解决方法之后,自己试着做了如下修改,程序运行正常了。
错误修改
找到***-Prefix.pch文件,把中间的
#ifdef __OBJC__
#import
<UIKit/UIKit.h>
#import
<Foundation/Foundation.h>
#endif
注释掉。运行程序。Bulid success之后。程序停止运行。解开注释。再运行一次就好了。
相关文章推荐
- 关于***-Prefix.pch has been modified since the precompiled header was built的错误
- iOS file 'XX-Prefix.pch' has been modified since the precompiled header was built
- iOS 协同开发出fatal error: file ‘XX-Prefix.pch’ has been modified since the precompiled header was built
- iOS 协同开发出fatal error: file 'XX-Prefix.pch' has been modified since the precompiled header was built
- iOS 协同开发出fatal error: file 'XX-Prefix.pch' has been modified since the precompiled header was built
- iOS 协同开发出fatal error: file 'XX-Prefix.pch' has been modified since the precompiled header was built
- 【Xcode】file 'XXX.pch'has been modified since the precompiled header was built
- File '/Applications/Xcode has been modified since the precompiled header was built
- has been modified since the precompiled header was built IOS开发
- IOS开发 xcode报错之has been modified since the precompiled header was built
- iOS开发xcode报错:"xxxxxx"has been modified since the precompiled header was built
- ios编译出错:UIButton.h' has been modified since the precompiled header UIKit.pcm' was built
- proj.ios/Prefix.pch' has been modified since the precompiled header
- iOS开发xcode报错:"xxxxxx"has been modified since the precompiled header was built
- IOS开发xcode报错之has been modified since the precompiled header was built
- IOS开发xcode报错之has been modified since the precompiled header was built
- IOS开发xcode报错之has been modified since the precompiled header was built
- xcode报错 has been modified since the precompiled header was built
- 【转】 IOS开发xcode报错之has been modified since the precompiled header was built
- XCode报错 has been modified since the precompiled header was built