IOS Xcode Cache Issues

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.