|
|
@ -6,8 +6,8 @@ cd $THISDIR
|
|
|
|
|
|
|
|
|
|
|
|
export SWIFT_BRIDGE_OUT_DIR="$(pwd)/generated"
|
|
|
|
export SWIFT_BRIDGE_OUT_DIR="$(pwd)/generated"
|
|
|
|
# Build the project for the desired platforms:
|
|
|
|
# Build the project for the desired platforms:
|
|
|
|
cargo build -p cozo-swift --target x86_64-apple-darwin --release
|
|
|
|
cargo build -p cozo-swift -F storage-rocksdb --target x86_64-apple-darwin --release
|
|
|
|
cargo build -p cozo-swift --target aarch64-apple-darwin --release
|
|
|
|
cargo build -p cozo-swift -F storage-rocksdb --target aarch64-apple-darwin --release
|
|
|
|
mkdir -p ../target/universal-macos/release
|
|
|
|
mkdir -p ../target/universal-macos/release
|
|
|
|
|
|
|
|
|
|
|
|
lipo \
|
|
|
|
lipo \
|
|
|
|