I am following the tutorial on the official React Native website.
Using the following to build my project:
react-native run-ios
I g
1) Go to Xcode Preferences
2) Locate the location tab
3) Set the Xcode verdion in Given Command Line Tools
Now, it ll successfully work.