From 7dcb33c6bef451c4e95bdabe2e52db84306ac0b1 Mon Sep 17 00:00:00 2001 From: salva Date: Sun, 23 Jun 2024 14:19:41 -0300 Subject: [PATCH] Add release flag for ios build script --- rust/darwin.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rust/darwin.sh b/rust/darwin.sh index 30933d0..18a9281 100755 --- a/rust/darwin.sh +++ b/rust/darwin.sh @@ -36,10 +36,12 @@ for TARGET in \ # aarch64-apple-darwin do rustup target add $TARGET - cargo build -r --target=$TARGET + cargo build --release --target=$TARGET done cargo install cargo-lipo +cargo lipo --release + # Create XCFramework zip lipo -create -output $IOS_LIPO \ target/aarch64-apple-ios-sim/release/$LIBNAME \