Sparkle says app is up to date when it's not

Asked by sfsam

I've just updated my appcast.xml and uploaded a new version of my app to my server. However, when I run my (old) app and choose Check for updates..., Sparkle cheerfully informs me that I already have the newest version and that I'm up to date.

The old version number is 1.1.1 and the new version number is 1.1.2.

I have updated both the "Bundle versions string, short" and the "Bundle version" in my Info.plist to 1.1.2.

Previous updates have worked fine, so I'm scratching my head as to why this one isn't.

My appcast.xml is located here: http://mowgliicdn.appspot.com/itsy/appcast.xml

My app (new version) is here: http://mowgliicdn.appspot.com/itsy/Itsy-1.1.2.zip

And the previous version which Sparkle thinks is the newest: http://mowgliicdn.appspot.com/itsy/Itsy-1.1.1.zip

Question information

Language:
English Edit question
Status:
Solved
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Solved by:
Andy Matuschak
Solved:
Last query:
Last reply:
Revision history for this message
Best Andy Matuschak (andymatuschak) said :
#1

Ah yes! It sorts by date, too, and you've made the newest one 2009, not 2010. :)

Revision history for this message
sfsam (itsyapp) said :
#2

Thanks Andy Matuschak, that solved my question.

Revision history for this message
sfsam (itsyapp) said :
#3

Oh, man. How embarrassing. Sorry for wasting your time. I won't even tell you how long I stared at the appcast and Info.plist version numbers in vain. Repeat to self: it's now 2010, it's now 2010, ... Jeez.

By the way, thank you for Sparkle. It's great!

Revision history for this message
sfsam (itsyapp) said :
#4

To create my <item> block for my appcast, I'm using the Distribution target Run Script from here:
http://www.entropy.ch/blog/Developer/2008/09/22/Sparkle-Appcast-Automation-in-Xcode.html

To create the pub date, the script does:
date +"%a, %d %b %G %T %z"

On my machine (MacBook running 10.6.2), I this produces:
Sat, 02 Jan 2009 10:33:47 -0500

Note the year. When I just run 'date' with no custom format, I get the right year:
Sat Jan 2 10:33:48 EST 2010

I don't know why this is, but it's just a heads up in case anyone else hits this.