Skip to content

Commit 3d0306d

Browse files
authored
Default to running the scenario tests on an arm iOS simulator variant on an Apple Silicon host Mac (flutter#39210)
* Default to using an arm iOS simulator variant on Apple Silicon * Kick tests
1 parent 77bee01 commit 3d0306d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

testing/scenario_app/run_ios_tests.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ function follow_links() (
2727
SCRIPT_DIR=$(follow_links "$(dirname -- "${BASH_SOURCE[0]}")")
2828
SRC_DIR="$(cd "$SCRIPT_DIR/../../.."; pwd -P)"
2929

30-
FLUTTER_ENGINE="ios_debug_sim_unopt"
30+
if uname -m | grep "arm64"; then
31+
FLUTTER_ENGINE="ios_debug_sim_unopt_arm64"
32+
else
33+
FLUTTER_ENGINE="ios_debug_sim_unopt"
34+
fi
3135

3236
if [[ $# -eq 1 ]]; then
3337
FLUTTER_ENGINE="$1"

0 commit comments

Comments
 (0)