• 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: Target-specific library inclusion?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Target-specific library inclusion?


  • Subject: Re: Target-specific library inclusion?
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 19 Sep 2008 11:12:23 -0700


On Sep 19, 2008, at 11:05 AM, Blair M. Burtan wrote:

Okay, but I don't want to have to rebuild the library each time I switch
from release to debug.


Here's a for-instance:

Assuming that the code in the library is frozen and the app has shipped.
Now you get a bug report that suggests a problem in the library. Both debug
and release builds of the library were built prior to shipping as separate
files. Now I want to rebuild the app in debug mode simply by changing the
popup from Release to Debug and automatically include the debug version of
the library.


Can this be done?

Yes. The build products for each configuration are segregated. Rebuilding Release doesn't nuke the Debug executable, like it did in CodeWarrior.


You build your library once in Debug and once in Release, then ignore it. You can go back and forth from Debug to Release in your app project and each side will link against the correct build of the library without rebuilding it. It'll pick up the correct debug symbols, too.

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


References: 
 >Re: Target-specific library inclusion? (From: "Blair M. Burtan" <email@hidden>)

  • Prev by Date: Re: Target-specific library inclusion?
  • Next by Date: Re: How do I view the retain count in Xcode's debug window?
  • Previous by thread: Re: Target-specific library inclusion?
  • Next by thread: Re: Target-specific library inclusion?
  • Index(es):
    • Date
    • Thread