Can't get rid of Apple LLVM 5.0 Error

后端 未结 14 1004
无人共我
无人共我 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:23

    as per xcode 5.

    1. click on Xcode preferences
    2. Goto locations tab
    3. click on the derived data path which navigates to the folder called DerivedData
    4. Delete the whole folder and restart xcode.

    This works fine for me.

    Happy coding :)

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

    Delete the folder, clean the app, restart Xcode if necessary.

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

    Have you tried reinstalling xcode? And have you cleaned using cmd+shift+k ?

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

    I used Shift + CMD + K to try and clean the project, but it did not disappear.

    All I had to do was go and check the names of <yourProjectName>-info.plist and <yourProjectName>-Prefix.pch.

    Then Shift + CMD + K worked.

    In my case the problem was Clang exiting with code 1.

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

    The same thing was occuring to me. The warning was telling me:

    After modifying system headers, please delete the module cache at '/Users/yunus.mehel/Library/Developer/Xcode/DerivedData/ModuleCache/13XL2DHZVON89'

    So, I have restarted xcode, deleted derived data from Organizer, deleted derived data from the derivedData folder; none of them worked. Then I have realized, the solution was already there; go to:

    "DerivedData/ModuleCache/13XL6DH2BON89"

    and delete that folder, not the "DerivedData/<your_project>". Make a clean build, it will work again.

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

    Please follow below steps to get rid from your problem.

    "Library/Developer/Xcode/DerivedData/ModuleCache/"

    Delete all Folders inside ModuleCache Folder.

    Make a clean build, quit Xcode and run it again

    sure ,it will work fine.

    Good Luck !!!

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