Update check progress bar just flashes, does not show result
During startup for my application, I added the following code:
[[SUUpdater sharedUpdater] resetUpdateCycle];
[[SUUpdater sharedUpdater] checkForUpdates
fprintf(stderr, "Updating: %d\n", [[SUUpdater sharedUpdater] updateInProgress]);
A progress bar quickly flashes on the screen and disappears. The result is "true" for updateInProgress. There is no network activity in the background after this, so I'm certain it's not downloading anything.
Shouldn't I be presented with a prompt letting me know that an update is available? My appcast seems correct:
http://
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://
<channel>
<
<link>http://
<
<
<item>
<enclosure url="http://
</item>
</channel>
</rss>
And my Info.plist should trigger the update:
<key>CFBundleV
<string>
<key>SUEnableA
<true/>
<key>SUPublicD
<string>
---
What might the problem be? Why isn't a dialog box popping up after the checkForUpdates?
Note that SUUpdater is not instantiated in my nib. That is why I call resetUpdateCycle.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Sparkle Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jeremy Sequoia
- Solved:
- Last query:
- Last reply: