-
-
Save EQuimper/4ebaa9ad1088750b41912996f2a643ab to your computer and use it in GitHub Desktop.
Run React Native on specific iOS simulator version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//by default | |
//react-native run-ios | |
//iPhone 4 | |
react-native run-ios --simulator "iPhone ${1:-4}" | |
//iPhone 4s | |
react-native run-ios --simulator "iPhone ${1:-4s}" | |
//iPhone 5 | |
react-native run-ios --simulator "iPhone ${1:-5}" | |
//iPhone 5s | |
react-native run-ios --simulator "iPhone ${1:-5s}" | |
//iPhone 6 | |
react-native run-ios --simulator "iPhone ${1:-6}" | |
//iPhone 6 Plus | |
react-native run-ios --simulator "iPhone ${1:-6 Plus}" | |
//iPhone 6s | |
react-native run-ios --simulator "iPhone ${1:-6s}" | |
//iPhone 6s Plus | |
react-native run-ios --simulator "iPhone ${1:-6s Plus}" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment