Re: Plugin Bundle Strangeness - fixed
Re: Plugin Bundle Strangeness - fixed
- Subject: Re: Plugin Bundle Strangeness - fixed
- From: Jaime Magiera <email@hidden>
- Date: Fri, 15 Feb 2008 23:20:38 -0500
On Feb 15, 2008, at 9:17 PM, Jaime Magiera wrote:
Hello,
I've been playing around with loading plugins dynamically. There's
some fundamental piece I'm missing: I'm able to successfully load
the bundles on application launch.
Ahhh... The problem was that the bundle was linked to the application
also. Though the correct copy was loaded at runtime. the class init
method was using the one linked to the main app. I used [NSBundle
bundleForClass:sender] to check which copy was being used in the init
method. Wrong one. Unlinked the bundle from the main app, did a clean,
and all is good.
Jaime Magiera
Sensory Research
http://www.sensoryresearch.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden