Skip to content

Commit

Permalink
Do not try to kill iOS Simulator when running MacCatalyst (#7487)
Browse files Browse the repository at this point in the history
  • Loading branch information
premun committed Jun 9, 2021
1 parent 3edd05c commit 172be04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ exit_code=$?

# Kill the simulator just in case when we fail to launch the app
# 80 - app crash
if [ $exit_code -eq 80 ]; then
if [ $exit_code -eq 80 ] && [[ "$target" =~ "simulator" ]]; then
sudo pkill -9 -f "$simulator_app"
fi

Expand Down

0 comments on commit 172be04

Please sign in to comment.