From 55a427bec855cfc09800969e7a3248212fe05b4e Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Fri, 27 Jan 2023 18:57:45 -0800 Subject: [PATCH] Default to running the scenario tests on an arm iOS simulator variant on an Apple Silicon host Mac (flutter/engine#39210) * Default to using an arm iOS simulator variant on Apple Silicon * Kick tests --- engine/src/flutter/testing/scenario_app/run_ios_tests.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/testing/scenario_app/run_ios_tests.sh b/engine/src/flutter/testing/scenario_app/run_ios_tests.sh index 74b32a0d233..bd0a6f84bd7 100755 --- a/engine/src/flutter/testing/scenario_app/run_ios_tests.sh +++ b/engine/src/flutter/testing/scenario_app/run_ios_tests.sh @@ -27,7 +27,11 @@ function follow_links() ( SCRIPT_DIR=$(follow_links "$(dirname -- "${BASH_SOURCE[0]}")") SRC_DIR="$(cd "$SCRIPT_DIR/../../.."; pwd -P)" -FLUTTER_ENGINE="ios_debug_sim_unopt" +if uname -m | grep "arm64"; then + FLUTTER_ENGINE="ios_debug_sim_unopt_arm64" +else + FLUTTER_ENGINE="ios_debug_sim_unopt" +fi if [[ $# -eq 1 ]]; then FLUTTER_ENGINE="$1"