https://github.com/thinkmill/react-native-start-ios-simulator
Start a React Native app in the iOS simulator of your choice.
https://github.com/thinkmill/react-native-start-ios-simulator
Last synced: 5 months ago
JSON representation
Start a React Native app in the iOS simulator of your choice.
- Host: GitHub
- URL: https://github.com/thinkmill/react-native-start-ios-simulator
- Owner: Thinkmill
- Created: 2021-01-14T06:06:23.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-25T04:33:49.000Z (about 5 years ago)
- Last Synced: 2025-10-22T00:36:03.769Z (6 months ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# React Native Start iOS Simulator
Start a React Native app in the iOS simulator of your choice
```zsh
➜ MyApp git:(main) ✗ yarn ios
yarn run v1.22.10
$ run-ios
? Pick a Simulator › - Use arrow-keys. Return to submit.
iPhone 5s
❯ iPhone 6 Plus
UDID: E7D75ACD-3F89-4C9A-A1BF-5AA942725E98.
iPhone 6
iPhone 6s
iPhone 6s Plus
iPhone SE (1st generation)
iPhone 7
iPhone 7 Plus
iPhone 8
↓ iPhone 8 Plus
```
## Getting Started
1. Install from NPM
```
npm install react-native-ios-start-sim
// or
yarn add react-native-ios-start-sim
```
2. Replace your iOS script
```json
{
"name": "My-React-Native-App",
"scripts": {
"ios":"start-ios-sim"
},
"dependencies": {
"react-native-start-ios-sim": "^1.0.0"
}
}
```
3. Run `yarn ios`
## Using schemes
If your app uses schemes to configure environments, you can specify what scheme is started in the CLI command
```json
{
"name": "My-React-Native-App",
"scripts": {
"ios": "start-ios-sim --scheme='Development'",
}
}
```
## Publishing
We version this package by updating the CHANGELOG.md file, and using the npm version commands...
- `npm version patch`
- `npm version minor`
- `npm version major`
We then publish to NPM using `npm publish`.