re: Setting for building a private framework into an app?
re: Setting for building a private framework into an app?
- Subject: re: Setting for building a private framework into an app?
- From: George Warner <email@hidden>
- Date: Thu, 06 Nov 2003 16:24:49 -0800
On Thu, 6 Nov 2003 14:02:52 -0800, Rob McKeever <email@hidden> wrote:
> I've been trying to figure out how to embed a private framework into an
> app of mine with limited success. I have a project with both the
> framework target for my private framework and another for my app. I am
> trying to arrange things so that my private framework gets built and
> then get embedded into my app and linked correctly.
>
> So far, I have gotten everything to build correctly and have gotten the
> framework to copy itself into my app during the app build phase. The
> problem is that when I go to run the app, I get a message stating that
> it can't find the framework at the location specified as it's install
> location, even though it's located in the app's Frameworks directory.
>
> How does a private framework need to set up so that it can be embedded
> into an app properly? Do I need to specify some other magic install
> location or no location at all? ...or am I looking at this problem
> entirely the wrong way?
To tell a framework project that it will be run from an executables
"framework" directory:
Select the framework Target; Get Info; select the "build" pane and set the
install path field to "@executable_path/../Frameworks".
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientists
Apple Developer Technical Support (DTS)
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.