Sparkle for a custom bundle associated with a System Preferences Pane?
I am trying to use the Sparkle framework for the first time. It looks easy to install and to use indeed.
My problem is that it works too well: it tries to update the System Preferences app itself!
I've read carefully the other questions/answers about using Sparkle and bundles, but none helped me to find out what I am doing wrong.
I have a QuickLook plugin for which I wrote a separated Preference pane which is installed in ~/PreferencePanes.
I did not read the Sparkle headers inside the xib of my PrefPane, and it has no NSObject set to SUUpdater.
I have added the Sparkle framework in my linked framework, and I have added the following at the very beginning of - (void) mainViewDidLoad:
<code>
updater = [SUUpdater updaterForBundl
[updater setAutomaticall
[updater resetUpdateCycle];
</code>
("updater" is an instance variable of my PrefPane controller).
If I set SUFeedURLKey in the Info.plist of my PrefPane to my appcast xml file, it is not recognized, somehow, and the Console.app tells me I need to include it either in Info.plist or in NSUserDefault. I wanted to avoid using NSUserDefault because for other options in my PrefPane, these user defaults cannot be shared with the QuickLook plugin. I need to use CoreFoundation preferences for that, with a specific bundle identifier. But either CoreFoundation preferences or NSUserDefault gives the same result with Sparkle. So I have included in my code:
<code>
[self savePreferenceK
</code>
where savePreferenceF
Result? Sparkle does the work well, very quickly, and tells me that... "System Preferences 7.0 is currently the newest version available."! Nice, but I wanted to update my custom PrefPane bundle. :-) Any idea?
Thank you very much in advance.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Sparkle Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- SnowClic
- Solved:
- Last query:
- Last reply: