We have a macOS app distributed outside of the Mac App Store (Developer ID distribution). It incorporates the popular Sparkle library which offers autoupdate functionality (downloading and installing new versions of the app).
The autoupdate functionality worked flawlessly for many years but with recent versions of macOS it started failing.
To demonstrate the problem we offer the dts-demo.tar.gz file (available for download, see the links below). That file contains the sources of DemoApp and a build_packages.sh script that builds installer packages for two versions of DemoApp. The old version is 3.0 and the new version is 4.0. Manually installing the old version (by double-clicking the .pkg file and following the instructions) succeeds. After launching the app, trying to autoupdate to the new version by clicking the "Check for update" button fails. The process starts, the old version is deinstalled but then the installation of the new version fails. Manually installing the new version of the app over the old version succeeds.
The problem has been observed on macOS versions after 26.6.2 (e.g. 26.7.3 or 27.0).
The files we offer for download are:
dts-demo.tar.gz at https://dx4vjdxzj60n5.cloudfront.net/dts-demo.tar.gz
manual_install_v3.log at https://dx4vjdxzj60n5.cloudfront.net/manual_install_v3.log
autoupdate_to_v4.log at https://dx4vjdxzj60n5.cloudfront.net/autoupdate_to_v4.log
manual_install_v4_over_v3.log at https://dx4vjdxzj60n5.cloudfront.net/manual_install_v4_over_v3.log
The provided log files are excerpts from the system's install.log file.
The Sparkle framework included in dts-demo.tar.gz comes from the official Sparkle 2.10.1 release. That version is the latest available at the time of writing. Please note that it only accepts URLs with 'http' or 'https' schemes.
This autoupdate problem looks like a bug in macOS because manual updates succeed. We'd like to have the bug fixed or at least find a workaround.