chenxs 发表于 2014-10-15 16:01:01

Xcode报错..has been modified since the precompiled header… was was built问题

环境:XCode 6Mac OS 10.9

在程序中报错:

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

廖斌 发表于 2014-10-15 16:09:26

您好,请尝试以下两种方法解决:
方法1)clean项目
   * Project -> Clean
   * Shift + Command + K

方法2)删除 /Users/username/Library/Developer/Xcode/DerivedData/ModuleCache 下的所有文件
(注意:username 是你 Mac 电脑的账号用户名称目录)

如果上述方法1解决方法没有效果,尝试用方法2,或者结合两个方法一起解决

admin 发表于 2014-10-15 16:17:35

可能是您安装了多个不同版本的XCode开发环境,混用造成的Cache冲突,清除Cache即可。
页: [1]
查看完整版本: Xcode报错..has been modified since the precompiled header… was was built问题