【xcodebuild】テストの実行先を指定する (-destination)xcodebuild testでは、-destinationでテストを実行する場所を指定する。値は、キー=値をカンマで区切った指定子である。
$ xcodebuild test -project [プロジェクト名].xcodeproj -scheme [スキーム名] -destination 'platform=macOS,arch=arm64' $ xcodebuild test -project [プロジェクト名].xcodeproj -scheme [スキーム名] -destination 'platform=iOS Simulator,name=iPhone 17,OS=26.1' 指定できる実行先は、-showdestinationsで調べる。