Fixing Migration Problems from Xcode 6 to Xcode 7

less than 1 minute read

The Issue

After running the Xcode 7 migration wizard for my Tasks Application written in Xcode 6, I noticed the following error:

directory not found for option '-F/Applications/'

You can see the error in Xcode 7 below. It provides no additional information on how to resolve it.


After much digging, I found this is actually related to my test target of my app.


The Fix

If you select your project, and look under ‘Targets’, you should see two targets. One is your app and the other one is your test. Under ‘Search Paths’ (in my test target), I found it was including two items under ‘Framework Search Paths’:


$(SDKROOT)/Developer/Library/Frameworks $(inherited)


Deleting those entries in my older project then removed the warning. I did not have to make any changes to the other target.

Like this Post?

As always, thanks for reading and smash one of those share buttons to give this post some love if you found it helpful. Also, feel free to leave a comment below.



Leave a Comment