Skip to content

Commit

Permalink
shorter
Browse files Browse the repository at this point in the history
  • Loading branch information
swhitty committed Sep 4, 2023
1 parent 287c98b commit 3a81c49
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions simulator-find.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ fi
SDK_VERSION=$1
DEVICE=$2

echo "List All Devices"
CMD_SIMULATOR="xcrun simctl list"
echo $CMD_SIMULATOR
eval $CMD_SIMULATOR

CMD_SIMULATOR="xcrun simctl list devices 'iOS $SDK_VERSION' | grep '$DEVICE' | grep -E -o -m 1 -i '([0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12})'"
echo $CMD_SIMULATOR

Expand Down

0 comments on commit 3a81c49

Please sign in to comment.