自编译预编译头文件以来,文件已被修改 [英] file has been modified since the precompiled header was built

查看:132
本文介绍了自编译预编译头文件以来,文件已被修改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我不小心修改了一个标题( CBCentralManager.h)并导致上面的错误显示在我构建时。我搜索了堆栈溢出的解决方案,并找到了这个。即使在删除派生数据后,我仍然会得到相同的错误。我还试图删除 ModuleCache / FUW5IOHP9BIS 文件夹但没有成功。

So I accidentally modified a header (CBCentralManager.h) and caused the above error to show when I build. I searched stack overflow for the solution, and found this. Even after deleting the derived data, I still get the same error. I've also tried to delete the ModuleCache/FUW5IOHP9BIS folder with no success.

以下是我看到的具体错误:

Here is the specific error I'm seeing:

file / Applications /自预编译头文件'/ var以来,Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCentralManager.h'已被修改/folders/pj/hslm53_51xxd_npfqym5r6z00000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/5.0-5A1412/Xcode/ModuleCache/FUW5IOHP9BIS/CoreBluetooth.pcm已构建

非常感谢任何帮助。

推荐答案

删除〜/ Library / Developer / Xcode并重新启动Xcode为我修好了(Xcode 6 B7)。怀疑一个积极的缓存错误。

Deleting ~/Library/Developer/Xcode and restarting Xcode fixed this for me (Xcode 6 B7). Suspect an aggressive caching bug.

在此之前,没有任何清理/构建文件夹清理/派生数据删除有帮助。

No amount of cleaning / build folder cleaning / derived data deleting helped before that.

这篇关于自编译预编译头文件以来,文件已被修改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆