Sparkle doesn't notice new version; app is up to date

Asked by Ger Teunis

I'm using Sparkle to implement auto update in my app.
Currently I've got the signing, creating update etc all functioning.

The last step seems to be the appcast itself; I've added the url and public signing key. That all works.

The application keeps telling me even when I have a newer version configured in the appcast xml file.
I've remove the online xml once to make sure it is read correctly: it does download the xml.

My current app version is 0.3.0 (in info.plist) and the 'new' version is 0.4.0
My appcast xml:
http://www.nzbvortex.com/update/appcast.xml

What am I doing wrong here? The new version is clearly 0.4.0 in the appcast, the app keeps telling me that version 0.3.0 is the most recent one.

ps> the public download 0.3.0 on the site itself (www.nzbvortex.com) doesn't have the sparkle integration.

Question information

Language:
English Edit question
Status:
Solved
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Solved by:
Hofman
Solved:
Last query:
Last reply:
Revision history for this message
Ger Teunis (g-teunis) said :
#1

Okay, it seems updating version 0.3.0 to 0.4.0 is not considered an Update.
When I set it to 1.0.0 I get the update request.

Sounds like an bug or can I control this? I really want to release 1.0.0 on a very late state. Also a 0.x release should always trigger an update.

Can I control this?

Revision history for this message
Ger Teunis (g-teunis) said :
#2

0.3.0 -> 0.4.0 = no update
....
0.3.0 -> 0.9.0 = no update

But
0.3.0 -> 1.0.0 = update

Revision history for this message
Andy Matuschak (andymatuschak) said :
#3

You know, that’s funny; I can’t reproduce that bug. Have you tried using the latest version of Sparkle from http://github.com/andymatuschak/sparkle/?

Revision history for this message
Ger Teunis (g-teunis) said :
#4

Thank you for your reply, your work is much appreciated!
I'm using 1.5 b6.

To get a complete picture:
The 0.3.0 including Sparkle: http://www.nzbvortex.com/downloads/NZBVortex-0.4.0.zip (I know, filename says 0.4.0. Just for testing).

I've update the appcase back to 0.4.0 for you.
http://www.nzbvortex.com/update/appcast.xml

Could you try the above 0.3.0 (file called 0.4.0)?

Revision history for this message
Best Hofman (cmhofman) said :
#5

The problem is that you did not set the CFBundleVersion in your Info.plist. You should realize that this is the actual version of your app which is used for version comparisons (both by Sparkle and the system). The CFBUndleShortVersionString is essentially only a version string that's used for display to your users. Also note that CFBundleVersion corresponds to sparkle:version, and CFBUndleShortVersionString corresponds to sparkle:shortVersionString. See the documentation for more details.

Revision history for this message
Ger Teunis (g-teunis) said :
#6

Excellent, it was really that easy.
Sorry, new to OSX developement.

Revision history for this message
Ger Teunis (g-teunis) said :
#7

Thanks Hofman, that solved my question.