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,