Skip to content

Commit

Permalink
Add release flag for ios build script
Browse files Browse the repository at this point in the history
  • Loading branch information
salvatoto committed Jun 23, 2024
1 parent d9d1228 commit 7dcb33c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rust/darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 7dcb33c

Please sign in to comment.