KVO was not set up properly when trying to retrieve the updater from the updater controller, especially when the updater controller hasn't been fully initialized yet.
[ ] My change requires changes to generate_appcast, generate_keys, or sign_update
Only bug fixes to regressions or security fixes are being backported to the 1.x (master) branch now. If you believe your change is significant enough to backport, please also create a separate pull request against the master branch.
Testing
I tested and verified my change by using one or multiple of these methods:
[ ] Sparkle Test App
[ ] Unit Tests
[ ] My own app
[x] Other (please specify)
Tested with a test app that references updater.canCheckForUpdates on an SPUStandardUpdaterController instance.
KVO was not set up properly when trying to retrieve the updater from the updater controller, especially when the updater controller hasn't been fully initialized yet.
Fixes issues brought in discussion #2403
Misc Checklist
Only bug fixes to regressions or security fixes are being backported to the 1.x (master) branch now. If you believe your change is significant enough to backport, please also create a separate pull request against the master branch.
Testing
I tested and verified my change by using one or multiple of these methods:
Tested with a test app that references
updater.canCheckForUpdates
on anSPUStandardUpdaterController
instance.macOS version tested: 13.4.1 (22F82)