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

Hi all,


I have just been testing out one of my applications on XCode 7 Beta 1.


I've made a couple of observations which I'm hoping to go stick in the bug tracker shortly.


However I'm not sure whether the above is something of my doing or of XCodes.


I am seeing this as a warning on compiling for the Tests portion of my project. Bear in mind I haven't actually gotten any unit tests in there yet or made significant changes to tests to my knowledge.


Any ideas what this may be?


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


Many thanks,


Andrew

Replies

Follow the answer in this post: http://stackoverflow.com/questions/30827022/xcode-7-beta-library-search-path-warning


I had the same thing and this cured it for me

Any other ideas for this? I can not find any paths in any of those Search Paths in the answer given. They are all blank. Framework, Library, All of them for all targets yet I still get this error.


NM: It was in the test target. heh. All good now.

For my part, i've found the answer in this post:

http://stackoverflow.com/questions/20999713/apple-mach-o-linker-warning-framework-search-paths


These's a printScreen to help.


1: Open your Projects

2: Click on Targets (select the AppxxxTests)

3: Click on Build Settings

4: Find Search Paths

5: Click on "Framework Search Paths" or "Library Search Paths" and you should find the bogus paths listed in there, which you can delete.


IMPORTANT: The problem is in AppxxxTests not in your Appxxx.


NOTE: Make a copy of the parth in TextEdit before to be able to put it back just in case it does not work.