• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Including different debug and release frameworks in a .app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Including different debug and release frameworks in a .app


  • Subject: Re: Including different debug and release frameworks in a .app
  • From: Shawn Erickson <email@hidden>
  • Date: Mon, 25 Jan 2010 12:21:23 -0800

On Mon, Jan 25, 2010 at 8:56 AM, Dan Korn <email@hidden> wrote:
> 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.

IMHO it is far easier to write a little shell script, that does the
selective copying, in a shell script phase then having to create
another target.

-Shawn
 _______________________________________________
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

  • Follow-Ups:
    • Re: Including different debug and release frameworks in a .app
      • From: "Sean McBride" <email@hidden>
References: 
 >Including different debug and release frameworks in a .app (From: "Sean McBride" <email@hidden>)
 >Re: Including different debug and release frameworks in a .app (From: Dan Korn <email@hidden>)

  • Prev by Date: Re: Including different debug and release frameworks in a .app
  • Next by Date: Re: Including different debug and release frameworks in a .app
  • Previous by thread: Re: Including different debug and release frameworks in a .app
  • Next by thread: Re: Including different debug and release frameworks in a .app
  • Index(es):
    • Date
    • Thread