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

前端 未结 3 1670
孤城傲影
孤城傲影 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

提交回复
热议问题