デバイスをリストアップする xcrun simctl list devicetypes 取得結果は SwiftUI のプレビューでこんな感じで利用 ContentView() .previewDevice(.init(rawValue: "iPhone 13 mini"))