Loading...

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

question xcode apple
Ram Patra Published on October 1, 2024

The error message you’re encountering indicates that the simctl utility is not recognized, which usually means that your command line tools are not properly configured or that the path to Xcode’s command line tools is not set correctly. Here are steps to resolve this issue:

1. Install Command Line Tools

Make sure you have the Xcode command line tools installed. You can do this by running the following command in your terminal:

xcode-select --install

If the tools are already installed, you’ll see a message indicating so.

2. Set the Xcode Command Line Tools Path

If the command line tools are installed but simctl is still not found, you might need to set the path to the Xcode command line tools manually. Use this command:

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

This command points the system to the correct directory for Xcode tools.

3. Check Xcode’s Path

To check if the correct path is set, you can run:

xcode-select -p

This should output the path to Xcode’s Developer folder. If it does not, repeat step 2.

4. Update Xcode

Ensure that you have the latest version of Xcode installed. You can update it from the Mac App Store.

5. Restart Terminal

After making these changes, restart your terminal to ensure that the new path is recognized.

6. Use Full Path to simctl

If you still have issues, you can try using the full path to simctl. The default path is:

/Applications/Xcode.app/Contents/Developer/usr/bin/simctl

Try running your command like this:

/Applications/Xcode.app/Contents/Developer/usr/bin/simctl list

7. Reboot Your Mac

As a last resort, restarting your Mac can sometimes help resolve path issues.

After following these steps, try running the simctl command again, and you should be able to access the iOS Simulator tools without issue. Let me know how it goes!

Presentify

Take your presentation to the next level.

FaceScreen

Put your face and name on your screen.

KeyScreen

Show keypresses on your screen.

ToDoBar

Your to-dos on your menu bar.

SimpleFill

Fill forms using your right-click menu.

IconSim

Preview your Mac app icons.

Ram Patra Published on October 1, 2024
Image placeholder

Keep reading

If this article was helpful, others might be too

question swift xcode October 8, 2023 How to get rid of 'Result of call to function is unused' warning in Swift/Xcode?

In Swift, if you encounter a “Result of call to ‘function’ is unused” warning, it means that you’re calling a function that returns a value (typically a result type, such as Result or any other type), but you’re not doing anything with the result. To get rid of this warning, you have a few options depending on the specific situation:

question xcode swift October 1, 2025 How to Safely Rename an Xcode Project

Renaming your Xcode project isn’t just a matter of changing the file name — if you skip key steps, you may end up with broken schemes, missing assets, or old names still showing up. Here’s a clean, step-by-step guide to safely rename your project.

question swift xcode August 12, 2020 How to remove a Swift package from a project in Xcode?

If you go to Xcode > File > Swift Packages, you can see options to add a new Swift package, update them, reset caches, and resolve package versions. However, you do not see an option to remove a particular Swift package.

Like my work?

Please, feel free to reach out. I would be more than happy to chat.