Open fujisoft opened 1 day ago
I want to understand potential cause first.
Does your app specify SUShowReleaseNotes
in Info.plist? (if so, what value do you set it as. Not a common setting except perhaps for Catalyst apps.)
Do your updates include a release notes URL (sparkle:releaseNotesLink
) or a description (description
)? (I am assuming sparkle:releaseNotesLink
).
Thank you!
Does your app specify SUShowReleaseNotes in Info.plist? (if so, what value do you set it as. Not a common setting except perhaps for Catalyst apps.)
No.
Do your updates include a release notes URL (sparkle:releaseNotesLink) or a description (description)? (I am assuming sparkle:releaseNotesLink).
The sparkle:releaseNotesLink is in our appcast. There is no description. The live appcast is here: https://update1.diskcatalogmaker.com/info/appcast/DiskCatalogMaker.xml
The issue reproduces if the app bundle is moved while running before Sparkle's update window shows up (hence the nib is not loaded and the window is not loaded). This type of issue is pretty annoying to deal with. We can better add a check here against crashing but Sparkle will not work properly in this state (the app is running in an unsupported state).
Few users reported the same crash. I have no idea about the reason.
Summary
Assertion failed: (_releaseNotesSpinner != nil), function -[SUUpdateAlert _createReleaseNotesViewPreferringPlainText:], file SUUpdateAlert.m, line 312.
Possible Fix
We can replace the assertion to a if-else block or something?
Version
Sparkle version 2.6.4 macOS 14.7.0 Macmini8,1