Re: XCode project as a dependency to another XCode Project
Re: XCode project as a dependency to another XCode Project
- Subject: Re: XCode project as a dependency to another XCode Project
- From: Ken Thomases <email@hidden>
- Date: Thu, 29 Oct 2009 20:35:55 -0500
On Oct 29, 2009, at 8:25 PM, Richard Langly wrote:
I have two separate XCode projects. One is an application, the second
is a dynamic library. I can't figure out how to add the library
project to the application project as a dependency. Or … what it takes
to get a project into the "Direct Dependencies" of the target editor.
Am going about this correctly?
Hard to say. You don't explain how you're going about it.
Add the project for the library to the project for the app. Drag-and-
drop works, as do any number of other methods. Unselect all targets
in the add file dialog.
Get Info on the app target which is supposed to link against the
library. On the General tab, under Direct Dependencies, click the
plus ('+') button. Select the target from the library project and
click Add Target.
In the file list in the app project, toggle open the entry for the
library project. Drag the product to the appropriate build phase of
the app target.
That's it.
Cheers,
Ken
_______________________________________________
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