Skip to content

Instantly share code, notes, and snippets.

@quangdh
Created November 30, 2018 07:59
Show Gist options
  • Save quangdh/6df9fc1f094400f00cbfbd52fc48c386 to your computer and use it in GitHub Desktop.
Save quangdh/6df9fc1f094400f00cbfbd52fc48c386 to your computer and use it in GitHub Desktop.
React Native Change Default iOS Simulator Device

These are the available devices for iOS 12.0:

react-native run-ios --simulator="iPhone 5s"
react-native run-ios --simulator="iPhone 6"
react-native run-ios --simulator="iPhone 6 Plus"
react-native run-ios --simulator="iPhone 6s"
react-native run-ios --simulator="iPhone 6s Plus"
react-native run-ios --simulator="iPhone 7"
react-native run-ios --simulator="iPhone 7 Plus"
react-native run-ios --simulator="iPhone 8"
react-native run-ios --simulator="iPhone 8 Plus"
react-native run-ios --simulator="iPhone SE"
react-native run-ios --simulator="iPhone X"
react-native run-ios --simulator="iPhone XR"
react-native run-ios --simulator="iPhone XS"
react-native run-ios --simulator="iPhone XS Max"
react-native run-ios --simulator="iPad Air"
react-native run-ios --simulator="iPad Air 2"
react-native run-ios --simulator="iPad"
react-native run-ios --simulator="iPad Pro"
react-native run-ios --simulator="iPad Pro"
react-native run-ios --simulator="iPad Pro"
react-native run-ios --simulator="iPad Pro"
react-native run-ios --simulator="iPad"

List all available iOS devices:

xcrun simctl list devices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment