From 9eb602f554be069eba1c103b11acefdf1c3f7f59 Mon Sep 17 00:00:00 2001 From: Jeff Date: Sun, 19 Jun 2022 20:36:58 -0400 Subject: [PATCH] add arm64 simulator target to ios.sh --- contrib/ios.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/ios.sh b/contrib/ios.sh index 789921e0f8..26df776c09 100755 --- a/contrib/ios.sh +++ b/contrib/ios.sh @@ -15,18 +15,22 @@ build_dir="$root/build/iphone" ./contrib/ios/ios-configure.sh "$build_dir/device" OS $@ ./contrib/ios/ios-configure.sh "$build_dir/sim" SIMULATOR64 $@ +./contrib/ios/ios-configure.sh "$build_dir/sim_arm" SIMULATORARM64 $@ ./contrib/ios/ios-build.sh "$build_dir/device" ./contrib/ios/ios-build.sh "$build_dir/sim" +./contrib/ios/ios-build.sh "$build_dir/sim_arm" pkg_name="iphone_lokinet_embedded_$(date +%s)" pkg_dir="$build_dir/$pkg_name" mkdir -p "$pkg_dir/include" mkdir -p "$pkg_dir/lib/device" mkdir -p "$pkg_dir/lib/sim" +mkdir -p "$pkg_dir/lib/sim_arm" cp -a "$build_dir/device/llarp/liblokinet-embedded.a" "$pkg_dir/lib/device/" cp -a "$build_dir/sim/llarp/liblokinet-embedded.a" "$pkg_dir/lib/sim/" +cp -a "$build_dir/sim_arm/llarp/liblokinet-embedded.a" "$pkg_dir/lib/sim_arm/" cp -a "$root"/include/lokinet{,/*}.h "$pkg_dir/include/" cd "$build_dir"