• 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: XCode project as a dependency to another XCode Project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >XCode project as a dependency to another XCode Project (From: Richard Langly <email@hidden>)

  • Prev by Date: XCode project as a dependency to another XCode Project
  • Next by Date: how to detect and kill a process and launch another process in packageMaker?
  • Previous by thread: XCode project as a dependency to another XCode Project
  • Next by thread: how to detect and kill a process and launch another process in packageMaker?
  • Index(es):
    • Date
    • Thread