sparkle-project / Sparkle

A software update framework for macOS
https://sparkle-project.org
Other
7.44k stars 1.05k forks source link

Deprecating SUAppcastitem is causing issue #2351

Closed prasann-1433 closed 1 year ago

prasann-1433 commented 1 year ago

- (nullable instancetype)initWithDictionary:(NSDictionary *)dict

in new version this api is been deprecated and this is causing an issue where we want user to updated to correct arm64 version of app who are using the emulated version in their M1 or M2 machine.

In order to do that we use the handler

bestValidUpdate(in appcast: SUAppcast, for updater: SPUUpdater) -> SUAppcastItem?

to update the SUAppcastItem and get the sparkle update the correct arm64 version.

More over we use this to mock the delegate functions for our unit testing as well and they all are failing. Appreciate if we can have them added back.

Do you use Sandboxing in your app?

Upgrading to 2.4.0

older version: 1.23.0

Sparkle's output from Console.app

N/A

Steps to reproduce the behavior

[The more information provided and pasted verbatim, the easier it will be to diagnose an issue. If you can provide the affected application/binary and XML feed to reproduce an issue, share them]