-
Tried a first-time user install of Ignite, following https://github.com/infinitered/ignite/blob/master/docs/Guide.md and can't get past the "Welcome to Metro" step. Q1: The next step in the instructions is 'npm run ios' -- but Metro is running. Should I ignore those instructions and press 'i', or start a new terminal to run 'npm run ios' ? Q2: I then tried pressing 'i' in Metro:
...but the simulator window does not open. Note: previous to this I had run the react native setup instructions () and was able to from their launch the simulator and side-load the app into "Eric's iPhone", so perhaps there is some Xcode setting which is directing Metro to attempt to send this new Ignite app to my phone? In case this helps:
Thanks in advance for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi Eric, is your phone connected to your computer? If that's the case it may default to that. However, you should be able to specify the simulator name by appending Also you could start via Expo, which generally is a quicker way to get up and running via |
Beta Was this translation helpful? Give feedback.
Yes in the Simulator "iPhone 14 Pro" is listed in that menu, and I can launch it. With both the iPhone SE sim and iPhone 14 Pro sim running,
npm start
will always select the SE. Withnpm start --simulator="iPhone 14 Pro"
it will first launch the App in SE:and then it also launches it in the 14 Pro:
With just the 14 Pro sim running, it launches the app in that.
After more experimentation: it seems that
npm start
andnpm run ios
are both ignoring the --simulator argument, and to select a specific phone I…