Xcode 7 Warning - directory not found for option - iPhoneSimulator9.0.sdk

前端 未结 3 1665
孤城傲影
孤城傲影 2021-02-18 17:16

I have got this warning when upgrade my project:

directory not found for option \'-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.p

相关标签:
3条回答
  • 2021-02-18 17:25

    I had the same error with Xcode 9.2 and here is my solution:

    1. Click on your project (targets)
    2. Click on Build Settings, Search for “Framework Search Paths”
    3. Under Framework Search Paths, delete the paths and keep the “$(inherited)”.
    4. This might happen when you move the referenced file around.

    This is what the screen looked like before deleting

    0 讨论(0)
  • 2021-02-18 17:34

    I recently upgraded my project as well and ran into the same thing. This fixed it for me:

    https://stackoverflow.com/a/32620919/3279011

    Note that you need to edit the properties of the test-project, not your main one (that's what took me a while to process).

    0 讨论(0)
  • 2021-02-18 17:50
    1. Click on your project (targets)
    2. Click onn Build Settings
    3. Use the arrows next to your project name (right above the Basic and All buttons) the change to the Tests target
    4. if the warning is ...for option '-F/... thats Framework Search Paths, delete the stuff there
    5. Clean
    6. Build Go for it.
    0 讨论(0)
提交回复
热议问题