stack_wallet/scripts/ios/build_all_duo.sh

31 lines
820 B
Bash
Raw Normal View History

2024-05-15 22:51:21 +00:00
#!/bin/bash
2024-05-21 21:40:10 +00:00
set -x -e
2024-05-15 22:51:21 +00:00
2024-05-15 23:13:50 +00:00
# todo: revisit following at some point
2024-05-15 22:51:21 +00:00
# libepiccash requires old rust
source ../rust_version.sh
set_rust_to_1671
# ensure ios rust triples are there
rustup target add aarch64-apple-ios
rustup target add x86_64-apple-ios
# ensure ios rust triples are there
rustup target add aarch64-apple-ios
rustup target add x86_64-apple-ios
(cd ../../crypto_plugins/flutter_liblelantus/scripts/ios && ./build_all.sh ) &
(cd ../../crypto_plugins/flutter_libepiccash/scripts/ios && ./build_all.sh ) &
(cd ../../crypto_plugins/flutter_libmonero/scripts/ios/ && ./build_all.sh ) &&
set_rust_to_1720 &&
(cd ../../crypto_plugins/frostdart/scripts/ios && ./build_all.sh ) &
wait
echo "Done building"
# ensure ios rust triples are there
rustup target add aarch64-apple-ios
rustup target add x86_64-apple-ios