I am following the tutorial on the official React Native website.
Using the following to build my project:
react-native run-ios
I g
None of these solutions worked for me. These two similar problems offer temporary solutions that worked, it seems the simulator process isn't being shutdown correctly:
Killing Simulator Processes
From https://stackoverflow.com/a/52533391/11279823
Activity monitor
, selected cpu
option and search for sim
, killing all the process shown as result.sudo xcrun simctl erase all
. It will delete all content of all simulators. By content if you logged in somewhere password will be gone, all developer apps installed in that simulator will be gone.Opening Simulator before starting the package
From https://stackoverflow.com/a/55374768/11279823
open -a Simulator; npm start
Hopefully a permanent solution is found.