I am following the tutorial on the official React Native website.
Using the following to build my project:
react-native run-ios
I g
Check out this link (Running react-native run-ios occurs an error?). It appears to be a problem with the location of Command line tools.
Command line tools
In Xcode, select Xcode menu, then Preferences, then Locations tab. Select your Xcode version from the dropdown and exit Xcode.