This commit is contained in:
John Smith
2022-11-29 12:32:05 -05:00
parent 273a10f966
commit f7582fabb2
14 changed files with 14 additions and 51 deletions

9
scripts/new_ios_sim.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
ID=$(xcrun simctl create test-iphone com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro com.apple.CoreSimulator.SimRuntime.iOS-16-1 2>/dev/null)
xcrun simctl boot $ID
xcrun simctl bootstatus $ID
echo Simulator ID is $ID
( trap exit SIGINT ; read -r -d '' _ </dev/tty ) ## wait for Ctrl-C
xcrun simctl delete $ID