xcrun simctl cloneでiOSシミュレータデバイスを複製する
xcrun simctl cloneは、既存のシミュレータデバイスをファイルシステムレベルで複製するサブコマンドである。
基本的な使い方 clone <device> <new name>の形式で実行する。
$ xcrun simctl clone "TIL Clone Source" "TIL Clone Dest" E5C5CD67-BDF6-4AA4-9433-CC3F4530996C 標準出力には複製先デバイスのUUIDが出力される。 複製元・複製先ともsimctl list devicesで確認できる。