Swift 2 iOS 9 - ld: warning: directory not found iPhoneSimulator9.0.sdk/Developer/Library/Frameworks
- Click on your project (targets)
- Click on Build Settings
- Use the arrows next to your project name (right above the Basic and All buttons) the change to the Tests target
- if the warning is ...for option '-L/... thats Library Search Paths, delete the stuff there
if the warning is ...for option '-F/... thats Framework Search Paths, delete the stuff there - Clean
- Build
The warning i was getting was this:
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/Developer/Library/Frameworks'
My Framework Search Paths were empty so updating/deleting this + Clean + Rebuild did not work for me...
If you are in this situation, try deleting your projects test target.