Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 984
user11153432 Avatar asked Nov 30 '22 13:11

user11153432


1 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.

like image 126
Akila Devinda Avatar answered Dec 04 '22 13:12

Akila Devinda