Re: linking to private frameworks
Re: linking to private frameworks
- Subject: Re: linking to private frameworks
- From: Ken Ferry <email@hidden>
- Date: Thu, 30 Sep 2004 16:08:54 -0400
On Wed, 29 Sep 2004 21:51:44 -0700, Eric Ocean <email@hidden> wrote:
> I'm trying to override a method in a private framework for an
> application I own. I generated a header for the class (using
> RuntimeBrowser), and then created my category to override the method.
> I'm loading the category implementation via SIMBL. The linker
> complains, so I add the private framework to my project, but it still
> complains.
I think the '-undefined suppress' linker flag is what you're looking
for. You'll also need '-force_flat_namespace' to keep everything
working.
Besides that, I'd generate headers for the relevant classes of the
framework using class-dump[1], and I would not add the framework to
the project.
-Ken
[1] <http://www.codethecode.com/Projects/class-dump/>
_______________________________________________
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