question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS CLI hangs on "Starting simulator..."

See original GitHub issue

Description

Installed create-react-native-app cli on a new OSX machine that has never ran Xcode or react-native projects before.

Creating a new project with create-react-native-app myProjectName then attempting to start it on iOS simulator via yarn ios hangs at “Starting simulator…” indefinitely with no errors or descriptions.

Expected Behavior

When attempting to run the project on iOS simulator on OSX the command line script yarn ios should not hang without some descriptive information.

Observed Behavior

I managed to resolve the issue with these steps:

  1. run yarn eject and chose react-native project structure
  2. run yarn ios
  3. iOS simulator runs as expected

After running an ejected project, I created another demo project using the CRNA cli and then it successfully ran on the simulator.

Environment

Please run these commands in the project folder and fill in their results:

  • npm ls react-native-scripts: 1.14
  • npm ls react-native: 0.55.4
  • npm ls expo: 27.0.2
  • node -v: 8.11.2
  • npm -v: 6.1
  • yarn --version: 1.6
  • watchman version: 4.9

Also specify:

  1. Operating system: OSX 10.13
  2. Phone/emulator/simulator & version: iPhone 8 & iOS 11.3

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:6

github_iconTop GitHub Comments

1reaction
jeloagnasincommented, Aug 3, 2018

I don’t know if this will help anyone. But it seems like I was just having trouble with my internet connection that’s why the Expo Client on my iOS simulator won’t launch.

So basically, I deleted the Expo Client on the simulator to reset the data. And when I tried to relaunch it with yarn run ios, it won’t open because I have a faulty internet connection. The next day, I tried it again without changing anything. It worked!

0reactions
dilloncommented, Jun 30, 2018

Same here. Any other fixes?

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS CLI hangs on "Starting simulator..." · Issue #672 - GitHub
Creating a new project with create-react-native-app myProjectName then attempting to start it on iOS simulator via yarn ios hangs at "Starting ...
Read more >
Launching simulator freezes whole Mac - Apple Developer
I have a 2019 16 inch MacBook Pro running Catalina 10.15.5 with a strange problem. Just launching the Simulator can hard freeze the...
Read more >
Appcelerator hangs indefinitely on “Launching iOS Simulator”
Appcelerator hangs indefinitely on “Launching iOS Simulator” · Tried building the project via Appcelerator Studio instead of the command line · Selected "Project" ......
Read more >
When your iOS device or simulator stuck on a splash screen.
Even you reinstall the app, it does not be fixed. Here is a solution. Delete 'DeviceSupport' or retry a pairing your device.
Read more >
Dealing With Problems With Running Tests | Detox
This page is about issues related to executing your Detox tests, typically triggered when running detox test (and not detox build, for example)....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found