Deprecating SUAppcastitem is causing issue #2352
Replies: 1 comment
-
It was deprecated (note not removed) because creating appcast items this way does not support new appcast features or guarantee correct behavior (e.g. with minimum OS version requirements, which 1.x did not handle correctly). We don't recommend creating appcast items or using If you want to migrate with minimal effort, there is a new initializer in |
Beta Was this translation helpful? Give feedback.
-
- (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]
Beta Was this translation helpful? Give feedback.
All reactions