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