• 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 projects' libraries to a project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding projects' libraries to a project


  • Subject: Re: Adding projects' libraries to a project
  • From: "James Larcombe" <email@hidden>
  • Date: Wed, 30 Nov 2005 17:08:32 -0000

Steve Mills wrote:

After reading some Xcode docs, I dragged one of the new Xcode subprojects into the new main Xcode project, clicked open the subproject's triangle to reveal the products it builds, then
dragged the .a from that subproject down to the Link Binary With
Library build phase in the main project's target. That seemed
like the right way to do it, but upon build it gives me an
error that the static lib does not exist:

You need to add a dependency on the subproject explicitly in the "Target Info" dialog ("General" pane). This will ensure that the subproject is built as necessary.

Note that we've just found out on this list that Xcode does not
support cross-project references to products built in different
locations, so you will need to ensure that all your projects build
to the same location.

James
_______________________________________________
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: 
 >Adding projects' libraries to a project (From: Steve Mills <email@hidden>)

  • Prev by Date: Adding projects' libraries to a project
  • Next by Date: Re: Debugging an AudioUnit in Xcode 2.0
  • Previous by thread: Adding projects' libraries to a project
  • Next by thread: Re: Adding projects' libraries to a project
  • Index(es):
    • Date
    • Thread