How to solve LLVM 5.0 error for Apple in xcode 5?

I ran my application without any problems both on the simulator and on the device. Suddenly I get this error:

fatal error: file  '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h' has been modified since the precompiled header '/Users/rashidasgari/Library/Developer/Xcode/DerivedData/ModuleCache/SWBH8ZAWBXAH/UIKit.pcm' was built
note: after modifying system headers, please delete the module cache at '/Users/rashidasgari/Library/Developer/Xcode/DerivedData/ModuleCache/SWBH8ZAWBXAH'

I tried any solution I could find and still no luck. Please note that I tried to run the application on another MacBook, and everything works fine, without errors.

+4
source share
6 answers

Well, having tried almost all the solutions on the Internet, I decided to reinstall xcode and finally worked.

+2
source

Project cleanup is the first port of call (menu under Product).

, . Locations Finder ( -> , , Go To Folder... Finder.

+24

, DerivedData..

Xcode- > preferens- >

"" " " β†’ , " ", "", ""

- /Users/SENABI/Library/Developer/Xcode/DerivedData β†’ , , DerivedData, . . , , , -.

+2

.

:

  • XCode, XCode ( ).
  • DerivedData,
+1

CMD + Shift + K, , . .

0

you do not need to delete anything. you messed up git pull somewhere, maybe. just run Xcode and the simulator, reset any changes (or write them down) try git pull again, run Xcode again, clear the project and run it again.

0
source

All Articles