Skip to content

Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.

make-app: a failed signature on Sparkle's XPC services stops the build

Gauthier Piarrette5a92ca98fff5
diff --git a/Scripts/make-app.sh b/Scripts/make-app.sh
index 4cd90d9..e556ce0 100755
--- a/Scripts/make-app.sh
+++ b/Scripts/make-app.sh
@@ -137,8 +137,12 @@ ENTITLEMENTS
IDENTITY=$(security find-identity -v -p codesigning 2>/dev/null | awk -F'"' '/Developer ID Application/{print $2; exit}')
if [ -n "$IDENTITY" ]; then
- codesign --force --options runtime --timestamp -s "$IDENTITY" "$APP/Contents/Frameworks/Sparkle.framework/Versions/B/XPCServices/Downloader.xpc" 2>/dev/null || true
- codesign --force --options runtime --timestamp -s "$IDENTITY" "$APP/Contents/Frameworks/Sparkle.framework/Versions/B/XPCServices/Installer.xpc" 2>/dev/null || true
+ # The XPC services exist on every Sparkle 2 build; a signing failure here must stop the build.
+ # With the errors swallowed, one transient failure left Installer.xpc ad-hoc signed and the
+ # notary rejected the whole app (2026-09-17, 0.9.25's first attempt).
+ for xpc in Downloader Installer; do
+ codesign --force --options runtime --timestamp -s "$IDENTITY" "$APP/Contents/Frameworks/Sparkle.framework/Versions/B/XPCServices/$xpc.xpc"
+ done
codesign --force --options runtime --timestamp -s "$IDENTITY" "$APP/Contents/Frameworks/Sparkle.framework/Versions/B/Autoupdate"
codesign --force --options runtime --timestamp -s "$IDENTITY" "$APP/Contents/Frameworks/Sparkle.framework/Versions/B/Updater.app"
codesign --force --options runtime --timestamp -s "$IDENTITY" "$APP/Contents/Frameworks/Sparkle.framework"