[Sparkle] Building with Xcode 3.0, running on Panther

Brian Webster bwebster at mac.com
Thu Nov 15 11:05:21 PST 2007


Hi all,

I've come across a mysterious bug that I can't figure out.  If I build  
the Sparkle test app using Xcode 3.0 (check out the trunk from SVN,  
click clean, click build), everything works fine when I run the  
product on 10.5 and 10.4.x, but if I run it on 10.3.9, I get a crash  
in -[SUUpdate init], apparently on this line in  
dictionaryWithContentsOfFile:

currentSystemVersion = [[[NSDictionary  
dictionaryWithContentsOfFile:versionPlistPath]  
objectForKey:@"ProductVersion"] retain];

The really weird thing though is that, if I take the same code and  
build it using Xcode 2.4 under Tiger, everything works fine when  
running on Panther.  I don't see behavior like this in any of my own  
code, but I can't see anything obvious in the Sparkle code or build  
settings that could explain it.  Does anyone else get this crash when  
running on Panther, or is it just me?  Or am I just missing something  
blindingly obvious?

--
Brian Webster
bwebster at mac.com
http://homepage.mac.com/bwebster/



More information about the Sparkle mailing list