Categories
ios xcode xcrun

How do I fix the xcrun unable to find simctl error?

327

I have Xcode 6.2 Beta. Attempting

xcrun simctl 

in terminal yields

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

2

  • 1

    My app was running without issue then suddenly I came across this. I had no license to agree to and command line tools was set. A simple reboot of my machine worked.

    – StoriKnow

    Nov 27, 2020 at 18:33

  • please select correct answer

    – patataskr

    Mar 25 at 12:27

117

In Xcode, open the Xcode menu at the top, then select Preferences…, and then select the Locations tab.

Xcode screenshot

1

  • 3

    This makes it a lot more clear how to make the change, thanks for pic!

    – Jose

    Nov 3, 2019 at 18:43

77

Got similar issue on executing command

./Scripts/bootstrap.sh -d.

This helped me Xcode > Preferences > Locations, Set Command line Tools

enter image description here

1

  • How classic issue..

    – Renetik

    Jun 1 at 2:24