Re: Adding a project to another?
Re: Adding a project to another?
- Subject: Re: Adding a project to another?
- From: Kyle Sluder <email@hidden>
- Date: Tue, 16 Dec 2014 17:41:39 -0600
On Tue, Dec 16, 2014, at 05:36 PM, Rick Mann wrote:
> In Xcode 6.1.1, how do you add a project to another project, set a target
> dependency on that project, and link against the resulting .a file?
Just add the project as if it were any other type of file.
After you've added it, select the new project item in the file navigator
and make sure that the reference type and path are set to something
sensible in the File inspector.
For simplicity, let's say Project A depends on Project B. It sounds like
Project B produces a .a file, right?
If so, you need to specify the dependencies and the build order
manually. Dependencies are in the Target Dependencies group in the Build
Phases tab of the project editor. Build order is specified in the Scheme
editor.
--Kyle Sluder
_______________________________________________
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