How to solve... Has been modified since the precompiled header... Was built Problems
How to solve... Has been modified since the precompiled header... Was built Problems
Xcode5.1 reports an error in the program:
File '/Applications/Xcode. app/Contents/Developer/Platforms/iPhoneSimulator. platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/Frameworks/UIKit. framework/Headers/UISegmentedControl. h 'has been modified since the precompiled header'/Users/rjxy1_xy/Library/Developer/Xcode/DerivedData/ModuleCache/VMUVAS4MFQHZ/UIKit. pcm 'was built
Specific solution:
Delete all files in the/Users/rjxy1_xy/Library/Developer/Xcode/DerivedData/ModuleCache directory
But how to find the path?
Here I will tell you a simple and quick method (Library is a hidden file, which is not easy to find)
On the Finder, click --> go to the folder. The input path is displayed, for example,/Users/rjxy1_xy/Library/Developer/Xcode/DerivedData/ModuleCache.
It will automatically find the file, and it will be OK to delete all the files in it. However, if an error is still reported, you can also do this Project --> Clean, Shift + Command + K