Skip navigation.
 
mlRe: linking to private frameworks
FROM : Ken Ferry
DATE : Thu Sep 30 22:08:54 2004

On Wed, 29 Sep 2004 21:51:44 -0700, Eric Ocean <<email_removed>> 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/>

Related mailsAuthorDate
mllinking to private frameworks Eric Ocean Sep 30, 06:51
mlRe: linking to private frameworks Karin Kosina Sep 30, 12:37
mlRe: linking to private frameworks Greg Hurrell Sep 30, 13:29
mlRe: linking to private frameworks Eric Ocean Sep 30, 18:13
mlRe: linking to private frameworks Glenn Andreas Sep 30, 18:28
mlRe: linking to private frameworks Eric Ocean Sep 30, 19:07
mlRe: linking to private frameworks Frederick Cheung Sep 30, 20:13
mlRe: linking to private frameworks Ken Ferry Sep 30, 22:08
mlRe: linking to private frameworks [solved] Eric Ocean Oct 1, 00:41