Re: How to import a Framework
Re: How to import a Framework
- Subject: Re: How to import a Framework
- From: Jens Alfke <email@hidden>
- Date: Tue, 01 Dec 2015 21:09:36 -0800
> On Dec 1, 2015, at 7:12 PM, Gerriet M. Denkmann <email@hidden> wrote:
>
> “When you build an application or other executable, the compiler looks for frameworks in/System/Library/Frameworks as well as any other location specified to the compiler.”
That hasn’t been true for a long time, at least since the introduction of SDKs and iOS development in 2008. If it says this somewhere in the current developer docs, you should definitely report it!
Instead, Xcode looks in the current target’s specified SDK for frameworks. The SDKs are internal to Xcode.app and not modifiable, so if you want to add a custom framework you need to add its location to the target’s framework search path.
You also of course need to add the framework to the project, and make sure it’s in the target’s Link With Libraries list.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden