Question:
When I try to build my app in Xcode, I get this error message:
PCH file built from a different branch ((clang-425.0.24)) than the compiler ((clang-425.0.27))
Answer:
This is often a caching problem. Usually it can resolved by holding-the Option key and choosing Product > Clean
There is a Product > clean and it does a less thorough job. Some people can get buy with product > clean, for most product > Clean Build Folder ... is sufficient, and others nee d The manual removal as indicated in
Before the code is all right, the following compilation error has been encountered:
Fatal Error:file ' ... h ' has been modified since the precompiled header ' ... ' was built.
Note:please rebuld precompiled Header ' ... '.
The workaround is to delete all the files under/users/username/library/developer/xcode/deriveddata/modulecache in the folder and recompile them, which will generally be fine.
But occasionally after deleting the Modulecache file, not only did not solve the above problem, but also reported the following error:
Fatal error:malformed or corrupted AST file: ' Unable to load module '/users/username/library/developer/xcode/deriveddata /MODULECACHE/GJQSWZVUR8F9/FOUNDATION-PNFYWITLP4HB.PCM ": module file not found '
This time to execute a deep clean can be, the specific practice is to press the combination of "option+command+shift+k". The intermediate files are deleted during the compilation process and can then be compiled.
IOS Xcode Cache Issues