Xcode版本4.6.2(4H1003)编译错误 [英] Xcode version 4.6.2 (4H1003) compiler error
问题描述
我刚刚更新到Xcode版本4.6.2(4H10003)并尝试在模拟器中运行以前正在运行的应用程序项目并收到以下错误并且构建失败。
I just updated to Xcode version 4.6.2 (4H10003) and tried to run a previously working application project in the simulator and received the following error and the build failed.
从不同的分支((clang-425.0.27))构建的PCH文件比编译器((clang-425.0.28))
PCH file built from a different branch ((clang-425.0.27)) than the compiler ((clang-425.0.28))
出了什么问题以及如何解决?
What went wrong and how can it be fixed?
推荐答案
干净利落项目;保持选项,以便清理整个构建文件夹和中间体。您可能不得不退出Xcode并在Finder中手动丢弃DerivedData文件夹的全部内容,如我在此处所述:如何清空缓存并清理所有目标Xcode 4
Do a Clean of the project; hold Option so that you are cleaning out the whole build folder and intermediates. You might have to quit Xcode and throw away the whole contents of the DerivedData folder by hand in the Finder, as I describe here: How to Empty Caches and Clean All Targets Xcode 4
这篇关于Xcode版本4.6.2(4H1003)编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!