Can't get rid of Apple LLVM 5.0 Error

后端 未结 14 1003
无人共我
无人共我 2021-02-01 13:40

It keeps saying:

fatal error: file \'/Applications/Xcode5-DP5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/includ

相关标签:
14条回答
  • 2021-02-01 14:30

    In addition to all of the other "clean your build" answers, nothing was working for me until I emptied out the (highly undocumented!) /var/folders directory.

    Apparently, this is a "miscellaneous caches" dir maintained by OS-X. I didn't even bother figuring out what were "the correct files"; I just cleaned out the entire directory.

    ...And now I can build again. Hooray! From terminal:

    [sudo] rm -rf /var/folders/*
    

    (Although I did it from Finder, via authentication.) (OS-X 10.9.latest)

    Additional clue: I could build with XCode-6-beta, but got the goofy corrupt error in XCode-5.

    0 讨论(0)
  • 2021-02-01 14:31

    I was facing the same issue. I first cleaned the project do this by hitting "shift + command + k" and just rebuilt the project and it worked for me. hit "command + B" to rebuilt your project

    0 讨论(0)
提交回复
热议问题