create-react-native-app: Run iOS script fails because of Simulator code 60
After installing all the dependencies, I run npm run ios and it fails at the simulator step with the following terminal output:
Starting packager...
Starting simulator...
Failed to start simulator:
Error: Process exited with non-zero code: 60
Exiting...
However, the Simulator does start up and Exponent starts up but fails to connect to the server.
I’m having trouble isolating the problem because I haven’t changed anything from the initial project files.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 2
- Comments: 15 (1 by maintainers)
If you are not able to boot the simulator and the option for
Reset Content and Settingsis greyed out, You can try thisMac — > System Settings — > Storage — > Developer — > Delete
Xcode Caches.Restart the simulator, it will work fine.
Hi! Thanks for the report. This is an issue we’ve seen a few times, and it’s usually resolved by a reboot or by clearing the simulator device’s content and settings. Can you let me know if either of those things resolve the issue?
Yep, solved by hitting
Reset Content and Settingsin the Simulator. Similar to #67 in this regard. Thanks for the troubleshoot!This is the answer! Thanksss
I had the same issue for macOS Sonoma (14.2.1), Deleting the Xcode caches worked thanks 😃 @AAwaisYaseen
I know this is old but are there plans to ever fix this? Quite annoying to have to clear the cache all the time, especially if developing stuff where having a persistent file storage is helpful.
i’m on OSX 12.7 Monterey, in my case i had to go to System -> Storage -> Developer and nuke XCode cache as described here:
https://forums.developer.apple.com/forums/thread/718750
now it works!
Reset Content and Settings seems to fix the issue. However, on my machine, I have to do this whenever the Simulator App restarts. I thought something was wrong with my machine. I factory reset everything and started from scratch. I’m still getting the same error, but the Reset Content and Settings works.