Xcode "PCH file built from a different branch" Error

最近更新 Xcode 開發工具到 4.6.2 版後,編譯一些之前寫的舊程式會出現如下的錯誤。

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

xcode-pch-error

看來這是 Xcode 4.6.2 所造成的問題,根據官方文件說明,只要選擇 Xcode > Product > Clean 後就可以正常編譯了。

xcode-product-clean

 


Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *