xcrun: error: unable to find utility "simctl", not a developer tool or in PATH

Viewed 6153

terminal

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?

2 Answers

SOLUTION 1

Go to this location

Xcode > Preferences > Locations

And assigning the Command Line Tools

enter image description here

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.

Related