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: Matthew Formica <email@hidden>
- Date: Thu, 06 Nov 2003 16:41:08 -0800
Sounds like you need to set the INSTALL_PATH target setting for the
framework to the path where the framework will reside at runtime. The
application will link against that path and then look for it there. There
is a magic path to use when embedding a framework inside an application
package, to specify app-relative: @executable_path/../Frameworks
- Matthew
On 11/6/03 2:02 PM, "Rob McKeever" <email@hidden> wrote:
> Hi all,
>
> 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?
>
> Thanks in advance,
>
> -Rob
>
> --
> /* drunk.. fix later */
> _______________________________________________
> 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.
_______________________________________________
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.