• 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: Adding a target dependency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding a target dependency


  • Subject: Re: Adding a target dependency
  • From: Christiaan Hofman <email@hidden>
  • Date: Thu, 10 Feb 2011 11:35:53 +0100

On Feb 10, 2011, at 1:37, Nathan Sims wrote:

> How can I include in my iOS project as a build target a static library built in another project? My project will link with the static library (and its .h file), but not build it. The ways shown in the Xcode documentation "Adding Target Dependencies" don't seem to apply here - I don't have a little plus/minus button, and I can't drag the static library target from its project into the target dependency list of my new project.
> Thanks
> - Nate

Add the project for the library to your iOS project, click the little triangle in the Groups & Files table, and drag the icon for the library product that's revealed, either drag it into the Linked Frameworks group, or drag it into the Link Binary With Libraries build phase.

But why don't you want to add it as a dependency? That is usually the right thing to do.

Christiaan


 _______________________________________________
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: Adding a target dependency
      • From: Nathan Sims <email@hidden>
References: 
 >Adding a target dependency (From: Nathan Sims <email@hidden>)

  • Prev by Date: Re: Application crashing on PowerPC
  • Next by Date: C++ Templates compilation problem
  • Previous by thread: Adding a target dependency
  • Next by thread: Re: Adding a target dependency
  • Index(es):
    • Date
    • Thread