2020-10-22 iPhoneシミュレーターの動しているのだけのSIMULATOR_DEVICE_IDをとる iPhone xcrun simctl list だと、全てが表示されてしまう xcrun simctl list | grep Booted ってやれば起動しているのだけ取れる。