Re: Adding a target dependency
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