Re: Building a framework within an app's project
Re: Building a framework within an app's project
- Subject: Re: Building a framework within an app's project
- From: Quincey Morris <email@hidden>
- Date: Tue, 06 May 2014 12:37:44 -0700
On May 6, 2014, at 12:17 , Tom McHale <email@hidden> wrote:
But when I do that I see foo.xcodeproj in the project navigator but it does not build when I build focuser. I must be missing something.
I think the problem is that you still need to tell the app project to use the framework. Go to the Link With Binaries build phase and click the “+” button. Select the framework from the resulting dialog.
This will add a framework item to the app project in the navigator pane. Once it’s there, I recommend you select it, and in the File inspector, set its path to “relative to build products”.
Finally, go to Search Paths in build settings, and make sure that Xcode didn’t add any paths (to the Frameworks setting) for your framework that mention the derived data directory. If it did, remove the setting — it’ll only mess things up at some point in the future — you normally don’t need an explicit build setting here.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden