andymatuschak/TestMigration — Issue #4: Sparkle 1.5 doesn't work with Sparkle 1.0 loaded
Author: andymatuschak
Created: 2011-10-23 01:13:41+00:00
State: open

If a host application has an old version of Sparkle loaded, say 1.0, and
it loads a plugin with Sparkle 1.5 in it when Sparkle 1.5 tries to
update it will throw an exception because it's trying to call methods on
a the already loaded Sparkle 1.0 classes.

The exception is:

NSInvalidArgumentException - *** +[SUUpdater updaterForBundle:]:
unrecognized selector sent to class 0x6595e0

Since sparkle 1.5 is not compatible with Sparkle 1.1, the classes should
be renamed to avoid name space issues or it should, at the very least,
check to make sure the class has not be loaded yet and if it has, make
sure it's a compatible version. If it's not, it should not load itself.
This is a critical bug.

Migrated from Launchpad: https://bugs.launchpad.net/sparkle/+bug/371812
Originally reported by willco007 (will-panic) at Mon, 04 May 2009 18:46:38 -0000.