stack_wallet/scripts/ios/build_all.sh

30 lines
789 B
Bash
Raw Normal View History

2022-09-04 01:41:29 +00:00
#!/bin/bash
set -e
# libepiccash requires old rust
source ../rust_version.sh
set_rust_to_1671
2023-09-20 22:56:06 +00:00
# ensure ios rust triples are there
rustup target add aarch64-apple-ios
rustup target add x86_64-apple-ios
2023-09-20 22:56:06 +00:00
# ensure ios rust triples are there
rustup target add aarch64-apple-ios
rustup target add x86_64-apple-ios
2022-09-04 01:41:29 +00:00
(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 ) &
wait
echo "Done building"
# set rust (back) to a more recent stable release to allow stack wallet to build tor
set_rust_to_1720
2023-09-20 22:56:06 +00:00
# ensure ios rust triples are there
rustup target add aarch64-apple-ios
rustup target add x86_64-apple-ios