SUFeedURL not found?

Asked by Jon

I seem to be running into bug 365234, but the code fix didn't work for me. (I have xib files instead of nib files.)

Every time my preference pane launches, I run this code in awakeFromNib:

 [NSBundle bundleWithIdentifier:@"com.bergenstreetsoftware.PathSnaggerService"];
 SUUpdater *updater = [SUUpdater updaterForBundle:[NSBundle bundleForClass:[self class]]];
 [updater setAutomaticallyChecksForUpdates:YES];
 [updater resetUpdateCycle];

This is throwing this error:

2/11/10 11:27:51 PM System Preferences[52996] You must specify the URL of the appcast as the SUFeedURL key in either the Info.plist or the user defaults!

I have the SUFeedURL key in my Info.plist. I'm not sure what the problem is.

Question information

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

It sounds like you have multiple bundles. Sparkle needs you to have the relevant keys in the Info.plist of the bundle you give to SUUpdater. Make sure you have the SUFeedURL key in your service's Info.plist, not just your prefpane's.

Revision history for this message
Jon (jon-baumgartner) said :
#2

Hmm. I only have one bundle in the preference pane, and that's the one I
feed to SUUpdater. For kicks, I tried adding the SUFeedURL key to the
service's Info.plist, but that didn't work, either.

On 2/12/2010 12:14 AM, Andy Matuschak wrote:
> Your question #100783 on Sparkle changed:
> https://answers.edge.launchpad.net/sparkle/+question/100783
>
> Status: Open => Answered
>
> Andy Matuschak proposed the following answer:
> It sounds like you have multiple bundles. Sparkle needs you to have the
> relevant keys in the Info.plist of the bundle you give to SUUpdater.
> Make sure you have the SUFeedURL key in your service's Info.plist, not
> just your prefpane's.
>
>

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

Hm! This sounds like something stupid is going on.

Post your Info.plist?

Revision history for this message
Jon (jon-baumgartner) said :
#4

Yeah, it was something stupid.

I did not follow instructions under "Preventing Name Conflicts" when developing a preference pane.

It's working perfectly now, even with the original unmodified framework from 1.5b6 (ie, that bug isn't relevant.)

Thanks!