iOS Development-Clear cache

Source: Internet
Author: User
Tags delete cache

iOS Development-Clear cache

First, modified the system's header file

Example of an error:

Fatal Error:file '/applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/sdks/ Iphonesimulator7.1.sdk/system/library/frameworks/foundation.framework/headers/nsarray.h ' has been modified since The precompiled header '/users/ligang/library/developer/xcode/deriveddata/modulecache/1o5wp9283vgua/ FOUNDATION.PCM ' was built
Note:after Modifying system headers, delete the module cache at '/users/ligang/library/developer/xcode/deriveddat A/modulecache/1o5wp9283vgua '

1 Error generated.

Workaround:

(1) Go to '/users/ligang/library/developer/xcode/deriveddata/modulecache/1o5wp9283vgua this folder, delete the contents of its folder, then run the app, no problem. , be careful not to delete the 2nevap7x943d2 folder, but the contents of it. And then clean the project. (Product, clean)

(2) If the cache file is not resolved after the deletion, it is estimated to a large extent to re-install Xcode.

Example:

Second, when the program appears inexplicable problem, you can do clean operation

1. Simple cleanup

2. Delete cache files

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.