2022-09-04 01:41:29 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-05-21 21:40:10 +00:00
|
|
|
set -x -e
|
|
|
|
|
2023-09-20 16:19:21 +00:00
|
|
|
# libepiccash requires old rust
|
|
|
|
source ../rust_version.sh
|
2023-09-21 01:11:56 +00:00
|
|
|
set_rust_to_1671
|
2023-09-20 16:19:21 +00:00
|
|
|
|
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 16:19:21 +00:00
|
|
|
|
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
|
|
|
|
|
2024-06-03 19:35:08 +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 )
|
|
|
|
set_rust_to_1720
|
|
|
|
(cd ../../crypto_plugins/frostdart/scripts/ios && ./build_all.sh )
|
2022-09-04 01:41:29 +00:00
|
|
|
|
|
|
|
wait
|
2023-09-20 16:19:21 +00:00
|
|
|
echo "Done building"
|
|
|
|
|
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
|