Hello,
My application loads several plugins as NSBundles. During runtime, I would
like the user to be able to drop in a newer version of the plugin. When this
happens, I unload all of the bundles (by calling "unload" and releasing the
bundle), and load the new ones pretty easily. If the new plugin has a
different preview image, it updates accordingly in my application just fine.
However, when I try to get the new version of the bundle via "[myBundle
objectForInfoDictionaryKey:@"CFBundleVersion"]" it always returns the old
version. How can I force it to uncache the old version number?

The strange thing is that in this application I don't even load the code
from the bundle, so I don't think calling "unload" does anything. Are plists
cached automatically? Perhaps that is what I need to reset.

Thank You,
Bridger Maxwell
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to