构建iPhone应用程序,使用:
我开始收到以下错误:
致命错误:自编译预编译头文件以来,文件'/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/../lib/clang/2.1/include/stdint.h'已被修改
我尝试重新安装Xcode和OS X - 没有运气.是什么导致了这个?
所以我不小心修改了一个标题(CBCentralManager.h)并在我构建时导致上面的错误显示.我搜索了堆栈溢出的解决方案,并发现了这一点.即使在删除派生数据后,我仍然得到相同的错误.我也试过删除ModuleCache/FUW5IOHP9BIS文件夹但没有成功.
这是我看到的具体错误:
file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCentralManager.h' has been modified since the precompiled header '/var/folders/pj/hslm53_51xxd_npfqym5r6z00000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/5.0-5A1412/Xcode/ModuleCache/FUW5IOHP9BIS/CoreBluetooth.pcm was built
任何帮助是极大的赞赏.