Post

How to Remove Xcode Simulator Runtimes Using Terminal

A quick guide to removing simulator runtimes from your Mac using simctl in the terminal.

How to Remove Xcode Simulator Runtimes Using Terminal

To remove any installed simulator runtime from your Mac, follow these simple steps via the terminal:

1. List Installed Runtimes

Use the following command to view all available simulator runtimes:

1
xcrun simctl runtime list

Locate the runtime you wish to remove and note its unique identifier (e.g., 7976B5EC-52B8-4B7E-AF55-EC026BD24B51).

2. Delete the Runtime

With the identifier in hand, delete the runtime using:

1
xcrun simctl runtime delete <identifier>

Replace <identifier> with the actual UUID of the runtime you want to remove.

This is a helpful way to free up disk space and clean up outdated or unused runtimes from your development environment.

3. Remove All Runtimes

To remove all iOS, watchOS, tvOS, and xrOS simulator runtimes at once, use:

1
xcrun simctl runtime delete all

Preview What Will Be Deleted

Before actually deleting, you can see what runtimes will be removed without actually removing them:

1
xcrun simctl runtime delete all --dry-run

Time-Based Deletion

You can also delete runtimes that haven’t been used within a specific timeframe:

1
xcrun simctl runtime delete --notUsedSinceDays 365

This removes all runtimes not used in the past 365 days.

Bonus: Delete All Unavailable Devices

You can also delete all the unavailable devices:

1
xcrun simctl delete unavailable

☕ Support My Work

If you found this post helpful and want to support more content like this, you can buy me a coffee!

Your support helps me continue creating useful articles and tips for fellow developers. Thank you! 🙏

This post is licensed under CC BY 4.0 by the author.