Re: Adding projects' libraries to a project
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