码迷,mamicode.com
首页 > 其他好文 > 详细

如何解决…has been modified since the precompiled header… was built的问题

时间:2014-08-04 01:56:46      阅读:147      评论:0      收藏:0      [点我收藏+]

标签:io   文件   for   问题   ar   c   app   file   

如何解决…has been modified since the precompiled header… was built 的问题

 

xcode5.1在程序中报错:

File ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h‘ has been modified since the precompiled header ‘/Users/rjxyrjxy/Library/Developer/Xcode/DerivedData/ModuleCache/VMUVAS4MFQHZ/UIKit.pcm‘ was built

 

具体的解决方法:

 

删除/Users/rjxyrjxy/Library/Developer/Xcode/DerivedData/ModuleCache目录下的所有文件

 

但是如何找到路径呢

 

这里我来告诉大家一个简单快捷的方法(Library是隐藏文件,不容易找的)

 

在Finder上点——>前往——>前往文件夹,会自动弹出让你输入路径,例如:/Users/rjxyrjxy/Library/Developer/Xcode/DerivedData/ModuleCache

会自动找到文件的,删除里面的所有文件就OK了,不过呢,还是报错误的话,你还可以这样做 Project——>Clean ,Shift + Command + K

如何解决…has been modified since the precompiled header… was built的问题,布布扣,bubuko.com

如何解决…has been modified since the precompiled header… was built的问题

标签:io   文件   for   问题   ar   c   app   file   

原文地址:http://www.cnblogs.com/langtianya/p/3889178.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!