ld: warning: directory not found for option '-F'...

I get the following error warning when I try running my (previously error free) app on my iPhone or simulator, using Xcode 7 beta 3:


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


Any ideas what the problem is and how to fix it?

Answered by SpookyElectric1 in 26109022

Sorted now. Ignore!

Accepted Answer

Sorted now. Ignore!

Could you post what hepled you, so everybody could see it ?

Thanks

Hi,

I'm facing the same issue. Could you please share what you did to get rid of the warning. It really helps. Thanks in advance!

How did you resolve this?

Hi.

I had the same problem and I solve it like this.


1.In xcode go to your projects (targets).

2. in section "Search Paths" delete Framework Search Paths so that this string/path is empty.


If you have tests or something else besides your project in your targets also chech them.

I had a problem, that actualy my project was already empty in Frameworks Search Paths but my projects Tests had some path written in Frameworks Search Paths.


Hope this would help somebody.

Nice day

Also, in the issues navigator, make sure you know what target it is warning for, else you could miss that the FRAMEWORK_SEARCH_PATH is set to other than the default for only a test target and completely miss it, but still the app won't start. 8-(

ld: warning: directory not found for option '-F'...
 
 
Q