• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Plugin Bundle Strangeness - fixed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Plugin Bundle Strangeness (From: Jaime Magiera <email@hidden>)

  • Prev by Date: Re: Uncaught exceptions thrown by Cocoa documented anywhere?
  • Next by Date: CoreData Performance Mystery
  • Previous by thread: Plugin Bundle Strangeness
  • Next by thread: CoreData Performance Mystery
  • Index(es):
    • Date
    • Thread