yarn run v0.20.3 $ react-native-scripts ios Starting packager... Starting simulator... Unable to check Xcode version: Error: Process exited with non-zero code: 1 Failed to start simulator: Unable to verify Xcode and Simulator installation. Exiting...
While trying to run React Native apps if you run into the issue above, it is most likely that the Command Line Tools option in Xcode Preferences doesn’t point to the right path.
To get rid of the error all you have to do is :
- Go to Xcode
- Open Preferences
- Go to Locations
- Find “Command Line Tools” options
- Select Xcode X.X.X depending on the version of Xcode installed