andymatuschak/TestMigration — Issue #10: Sparkle 1.5 doesn't work with Sparkle 1.0 loaded
Author: andymatuschak
Created: 2011-10-23 16:28:34+00:00
State: open

***willco007 (will-panic)** [reported (on Launchpad)](https://bugs.launchpad.net/sparkle/+bug/371812) on' 2009-05-04:*

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.