xcode提示下面错误:
fatal error: file ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h‘ has been modified since the precompiled header ‘/Users/robin/Library/Developer/Xcode/DerivedData/ModuleCache/1X6VUGTMHFBPB/UIKit.pcm‘ was built
note: after modifying system headers, please delete the module cache at ‘/Users/robin/Library/Developer/Xcode/DerivedData/ModuleCache/1X6VUGTMHFBPB‘
1 error generated.
解决方案:
Remove the pcm file
rm "/Users/robin/Library/Developer/Xcode/DerivedData/ModuleCache/1X6VUGTMHFBPB/UIKit.pcm"
then
Clean Project( Cmd+Shift+K)
Accidentally modified an iOS SDK header file, now I cannot compile in simulator,布布扣,bubuko.com
Accidentally modified an iOS SDK header file, now I cannot compile in simulator