ios xcode xcrun

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


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


  • 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


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

Xcode screenshot


  • 3

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

    – Jose

    Nov 3, 2019 at 18:43


Got similar issue on executing command

./Scripts/ -d.

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

enter image description here


  • How classic issue..

    – Renetik

    Jun 1 at 2:24