PCH file built from a different branch ((clang-425.0.24)) than the compiler

升级XCode 4.6之后,compile的时候出现了个错误。

PCH file built from a different branch ((clang-425.0.24)) than the compiler

以前从没出现过这个错误,就当我升级完XCode之后第一次跑这个工程。

找了一下SO

找到答案:

这是一个旧版本XCode缓存引起的问题。

解决办法:

Usually it can be resolved by holding down the Option key and choosing Product > Clean Build Folder...


Perfect!


你可能感兴趣的:(PCH file built from a different branch ((clang-425.0.24)) than the compiler)