RE: Cross-project Reference and Targets
RE: Cross-project Reference and Targets
- Subject: RE: Cross-project Reference and Targets
- From: "Randy Widell" <email@hidden>
- Date: Thu, 31 May 2007 09:27:14 -0400
> > I ran into another problem, though. I am creating an app with a
> > private
> > framework. I have the app target setup to link against the private
> > framework and copy it to the Frameworks folder in the app's
> > bundle. That
> > works fine. However, my framework needs to link against the
> > framework to
> > which my project refers (ObjectiveLib). I have my framework setup
> > to link
> > against and copy the ObjectiveLib framework into the Frameworks
> > folder in
> > its bundle.
>
> It should just be a matter of setting the Installation Directory
> build setting for your frameworks to be relative to @executable_path.
> (You shouldn't need @loader_path if everything's in the app bundle.)
>
> <http://developer.apple.com/documentation/MacOSX/Conceptual/
> BPFrameworks/Tasks/CreatingFrameworks.html>
I read the link you provided and set all of the targets up to place their
build outputs in a common directory, and then setup the app target to copy
both frameworks into its Frameworks folder and everything seems to work fine
now.
_______________________________________________
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