Skip to content

Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.

C

fix: gather App Intents protocols with the flag Xcode 26 swiftc accepts

Vojtěch Škopek4d0328aa05bd
diff --git a/scripts/build-extension.sh b/scripts/build-extension.sh
index 4fc711bb..3c3b9249 100755
--- a/scripts/build-extension.sh
+++ b/scripts/build-extension.sh
@@ -38,7 +38,7 @@ metadata() {
printf '%s\n' "$@" > "$dir/sources.txt"
echo "$dir/$module.swiftconstvalues" > "$dir/constvals.txt"
xcrun --sdk iphoneos swiftc -typecheck -wmo -parse-as-library -target "$triple" -module-name "$module" \
- -emit-const-values-path "$dir/$module.swiftconstvalues" -const-gather-protocols-list "$WORK/protocols.json" "$@"
+ -emit-const-values-path "$dir/$module.swiftconstvalues" -Xfrontend -const-gather-protocols-file -Xfrontend "$WORK/protocols.json" "$@"
"$PROCESSOR" --output "$bundle" --toolchain-dir "$TOOLCHAIN" --module-name "$module" --sdk-root "$SDK" \
--xcode-version "$XCODE_BUILD" --platform-family iOS --deployment-target "$deploy" --target-triple "$triple" \
--source-file-list "$dir/sources.txt" --swift-const-vals-list "$dir/constvals.txt" --force >/dev/null