From d463bf006c1ae5b79e2d8b3c1c70850c966c5f58 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Fri, 3 Jul 2026 16:13:22 +0300 Subject: [PATCH] Switch to using the new apple-release profile for distribution in the hope of smaller binary sizes --- Tools/Release/Sources/Release.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/Release/Sources/Release.swift b/Tools/Release/Sources/Release.swift index 2e4b5a7c6..7fc3c3bd7 100644 --- a/Tools/Release/Sources/Release.swift +++ b/Tools/Release/Sources/Release.swift @@ -55,7 +55,7 @@ struct Release: AsyncParsableCommand { Log.info("Building \(branch) at \(commitHash)") // unset fixes an issue where swift compilation prevents building for targets other than macOS - let cargoCommand = "cargo xtask swift build-framework --release --target aarch64-apple-ios --target aarch64-apple-ios-sim --target x86_64-apple-ios" + let cargoCommand = "cargo xtask swift build-framework --profile apple-release --target aarch64-apple-ios --target aarch64-apple-ios-sim --target x86_64-apple-ios" try Zsh.run(command: "unset SDKROOT && \(cargoCommand)", directory: buildDirectory) return BuildProduct(sourceRepo: sourceRepo,