diff --git a/testing/scenario_app/run_ios_tests.sh b/testing/scenario_app/run_ios_tests.sh index 74b32a0d233ca..bd0a6f84bd720 100755 --- a/testing/scenario_app/run_ios_tests.sh +++ b/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"