Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

I have got this warning when upgrade my project:

directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks'

How can I fix this issue?

I have cleaned the project but the warning still occurs.

like image 920
asafbar Avatar asked Sep 20 '15 20:09

asafbar


2 Answers

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).

like image 177
Ecchi-Alex Avatar answered Oct 07 '22 23:10

Ecchi-Alex


  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.
like image 43
P.J.Radadiya Avatar answered Oct 08 '22 01:10

P.J.Radadiya