Re: Including different debug and release frameworks in a .app
Re: Including different debug and release frameworks in a .app
- Subject: Re: Including different debug and release frameworks in a .app
- From: Dan Korn <email@hidden>
- Date: Mon, 25 Jan 2010 10:56:45 -0600
On Jan 21, 2010, at 4:37 PM, Sean McBride wrote:
> Hi all,
>
> Perhaps I am just unable to find the right docs, but...
>
> I have a 3rd party .framework that I need to link to and include in
> my .app. I have no source, just a debug .framework and a
> release .framework. How do I include the Debug one in my Debug build
> and the Release one in my Release build?
>
> For static libs, I've used OTHER_LDFLAGS to specify -lfoo and used
> different LIBRARY_SEARCH_PATHS per configuration to get at the right
> one. I can do similar to link the right framework, but how can I
> conditionally include the right one in my .app itself?
Use separate Debug and Release targets in your project, instead of separate configurations.
Dan
_______________________________________________
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