Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding projects' libraries to a project



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Adding projects' libraries to a project (From: Steve Mills <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.