• 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: Jens Alfke <email@hidden>
  • Date: Tue, 22 Jun 2010 10:58:31 -0700

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

  • Follow-Ups:
    • Re: Linked Libraries
      • From: David Blanton <email@hidden>
References: 
 >Linked Libraries (From: David Blanton <email@hidden>)

  • Prev by Date: Linked Libraries
  • Next by Date: Re: Linked Libraries
  • Previous by thread: Linked Libraries
  • Next by thread: Re: Linked Libraries
  • Index(es):
    • Date
    • Thread