• 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: Linked Libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linked Libraries


  • Subject: Re: Linked Libraries
  • From: David Blanton <email@hidden>
  • Date: Tue, 22 Jun 2010 12:26:18 -0600

Thanks!


On Jun 22, 2010, at 11:58 AM, Jens Alfke wrote:


On Jun 22, 2010, at 10:45 AM, David Blanton wrote:

I have added the projects for these libs to my app project.
When I change the app target to release these lib projects also change to release and likewise for debug.
But the libraries in the Link Binary With LIbraries never change ... if I specified the debug version in adding existing frameworks the no matter how the target is changed they stay debug.

Instead of adding the static libraries directly, add the targets that build them as direct dependencies of your current target. Go into the target info’s General tab and click the “+” button below the Direct Dependencies list; then find the static library target in the list and add it. That will add the library to your link line, but Xcode will know to use the correct configuration.


—Jens



_______________________________________________
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: 
 >Linked Libraries (From: David Blanton <email@hidden>)
 >Re: Linked Libraries (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Linked Libraries
  • Next by Date: Xcode 3.2.3 is available in the Mac and iPhone Dev Centers
  • Previous by thread: Re: Linked Libraries
  • Next by thread: Xcode 3.2.3 is available in the Mac and iPhone Dev Centers
  • Index(es):
    • Date
    • Thread