首页 > 移动平台 > 详细

Accidentally modified an iOS SDK header file, now I cannot compile in simulator

时间:2014-04-22 15:01:28      阅读:476      评论:0      收藏:0      [点我收藏+]

xcode提示下面错误:

 fatal error: file ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h‘ has been modified since the precompiled header ‘/Users/robin/Library/Developer/Xcode/DerivedData/ModuleCache/1X6VUGTMHFBPB/UIKit.pcm‘ was built

note: after modifying system headers, please delete the module cache at ‘/Users/robin/Library/Developer/Xcode/DerivedData/ModuleCache/1X6VUGTMHFBPB‘

1 error generated.


bubuko.com,布布扣


解决方案:

Remove the pcm file 

rm "/Users/robin/Library/Developer/Xcode/DerivedData/ModuleCache/1X6VUGTMHFBPB/UIKit.pcm" 

then 

Clean Project( Cmd+Shift+K)

Accidentally modified an iOS SDK header file, now I cannot compile in simulator,布布扣,bubuko.com

Accidentally modified an iOS SDK header file, now I cannot compile in simulator

原文:http://blog.csdn.net/lin1986lin/article/details/24291657

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!