I was basically trying to create a new React Native project but my simulator won't open and terminal throws this error
Please help, what is wrong and how to fix it?
I was basically trying to create a new React Native project but my simulator won't open and terminal throws this error
Please help, what is wrong and how to fix it?
SOLUTION 1
Go to this location
Xcode > Preferences > Locations
And assigning the Command Line Tools
SOLUTION 2
In Terminal, try this.
xcode-select -s /Applications/Xcode.app
/Applications/Xcode.app is your Xcode.app path.
xcode-select -s /Applications/Xcode.app
with /Applications/Xcode.app
is your Xcode.app path.