Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: system file has been modified since precompiled header was built

Tags:

xcode

ios

xcode6

I just downloaded the final version of xcode 6 and to compile a project that I was working with the beta, now generates the following error simulator apparently, someone can help me with this.

fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator8.0.sdk/usr/include/sysexits.h' has been modified since the 
precompiled header '/Users/Lycros/Library/Developer/Xcode/DerivedData/ModuleCache/NZL05J5PKZ6B/
UIKit-301UUGFC4BK8R.pcm' was built

he error occurs when I try to compile on the simulator iphone 5s, 6, 6 plus and both resizables. works in another than iphone 5, 4 etc. . .

like image 580
lycros Avatar asked Sep 20 '14 18:09

lycros


1 Answers

Quit Xcode and remove everything in the module cache located here:

~/Library/Developer/Xcode/DerivedData/ModuleCache

The cache that was built with a previous version of Xcode is invalid for this version of Xcode and SDK, and that is causing your error.

like image 91
quellish Avatar answered Oct 27 '22 14:10

quellish