Re: Embedding a Framework within a Framework
Re: Embedding a Framework within a Framework
- Subject: Re: Embedding a Framework within a Framework
- From: "Finlay Dobbie" <email@hidden>
- Date: Sun, 19 Mar 2006 10:35:15 +0000
On 19/03/06, John C. Randolph <email@hidden> wrote:
> On Mar 18, 2006, at 1:38 PM, Tito Ciuro wrote:
> > A framework I'm writing requires a custom framework, so I was
> > thinking about embedding it within the new framework. Similar to
> > embedding a framework within an app...
> >
> > I've embedded a framework within an app in the past, but the same
> > process doesn't seem to work with frameworks.
> >
> > Any ideas?
>
> Ask the guys on the Xcode list how to build an umbrella framework.
> I'm not sure, but I think it may be doable in Tiger without all the
> hassle that it used to require.
Well, not to mention unless you're targetting Tiger you won't be able
to use @loader_path and so there's no way for the parent framework's
dylib to reference the child framework's dylib relatively (unless you
were to hardcode the parent's name into the child framework's install
name).
The best option at this point is probably to have all your frameworks
with an install_name of @executable_path/../Frameworks, and put them
all at the same level (inside the Fraemworks directory of your
application).
-- Finlay
> -jcr
>
> John C. Randolph <email@hidden> (408) 914-0013
> Roaming Cocoa Engineer,
> Available for your projects at great Expense and Inconvenience.
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden