1

I have been using Xcode 6 and I am using Xcode 7.3 beta 3 now and I got this warning

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

I've read something to go to "Project > Build Sittings > Search Path > Framework Search Paths" and I found it empty as you can see in the picture below.

Does anybody know how or what should I do?

Picture

Anbu.Karthik
  • 82,064
  • 23
  • 174
  • 143
Sameeha
  • 31
  • 2
  • 5

4 Answers4

4

Edit: Creating a new scheme should do the trick: Products > Scheme > New Scheme select the correct target and give it a name. Also clean and rebuild your project (Product > Clean and Product > Build)


Do you have the 9.3 simulator dowloaded on your system? You can check by going to Xcode > Preferences > Downloads. If not download the version(s) you need from the list.

Screenshot of Xcode Downloads view

Kymer
  • 1,184
  • 8
  • 20
  • I got http://oi66.tinypic.com/biszs0.jpg .. what should I add? "iPhoneOS9.3" is written but it's better that you tell me :) – Sameeha Feb 22 '16 at 12:33
  • 1
    Could you try creating a new scheme? `Products > Scheme > New Scheme` select the correct target and give it a name. Do you still get the warning? Also clean and rebuild your project (`Product > Clean` and `Product > Build`) – Kymer Feb 22 '16 at 12:46
  • Same thing when I used Xcode 6 and updated to Xcode 7.3 beta , can I tell you what it is? – Sameeha Feb 22 '16 at 13:08
  • Could you elaborate? – Kymer Feb 22 '16 at 13:10
  • I got 3 warnings http://oi63.tinypic.com/kstci.jpg .. I filled the AppIcon But the Brand assets I got these – Sameeha Feb 22 '16 at 13:17
  • Regarding the assets catalog, have look at [Apple's documentation](https://developer.apple.com/library/ios/recipes/xcode_help-image_catalog-1.0/chapters/AddingLaunchImagestoanAssetCatalog.html). If your problem persists consider creating a new question. – Kymer Feb 22 '16 at 13:27
0

Try setting the "framework search paths" to the directory of your iOS project e.g. /Users/...

Tometoyou
  • 7,792
  • 12
  • 62
  • 108
0

it is because xcode doesn't find path to look for framework.

Go to "Project > Build Sittings > Search Path > Framework Search Paths" and add Below value in it may it will solve your problem.

$(PROJECT_DIR)
Ronak Chaniyara
  • 5,335
  • 3
  • 24
  • 51
0

I had a similar warning with the -L option, for library search paths. I removed what it had and only kept $(inherited). That removed the warning.

GabeV
  • 859
  • 8
  • 21
  • This does not provide an answer to the question. Once you have sufficient [reputation](https://stackoverflow.com/help/whats-reputation) you will be able to [comment on any post](https://stackoverflow.com/help/privileges/comment); instead, [provide answers that don't require clarification from the asker.](https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead) – S4NDM4N Sep 26 '17 at 04:30
  • Can you clarify how this is not an answer? The question asked what should be done to get rid of the warning. My answer shows one approach that got rid of the warning. What further clarification is needed? – GabeV Sep 26 '17 at 14:16
  • Read [this](https://stackoverflow.com/help/answering) to get an idea about what answers should be like in SO. About your answer it belongs in the comment section under the question. Sometimes questions doesn't need a full blown answer a comment also can help. But in your case you're still to get commenting privilege until you get it stick to the guidelines of answering. If you post a low quality answer and the community start to down vote SO policies will render you unable to ask question and eventually make your account at risk. Just a heads up. – S4NDM4N Sep 26 '17 at 16:51
  • Thanks for your input but I respectfully disagree with your assessment. I read the link you provided and I think I did exactly what it says under “Answer the question”. I have a more specific approach (use $(inherited) in the field) than other answers and it works. And it actually answers his question, which is simply and literally “what can I do?”. I think that goes beyond a comment. Not trying to argue here or cause trouble but I suggest you rethink your assessment. Thanks for the heads up about downvotes. Have a good day. – GabeV Sep 26 '17 at 18:09