我刚刚更新到 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.28)) 的分支 ((clang-425.0.27)) 构建的 PCH 文件
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?
清理项目;按住 Option 以便您清理整个构建文件夹和中间体.您可能必须退出 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) 编译器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!