Reputation: 5371
How do I remove all these extra simulators from my Xcode menu?
Upvotes: 19
Views: 7791
Reputation: 2355
If you just want to delete all existing simulators you can simply use xcrun simctl delete all
Upvotes: 0
Reputation: 559
Fortunately, in more recent versions of Xcode (e.g., Version 13.4.1) it is easy to delete multiple simulators at once.
In Xcode go to Windows -> Device and Simulators, the choose the Simulators tab. A list of devices will appear, from which you can multi-select and then delete.
Upvotes: 0
Reputation: 4641
There is a nice shell script that deletes all simulators and creates a list of new ones for you on GitHub without the need of Fastlane (even though Fastlane is worth to have anyway):
https://github.com/jerolimov/reset_simulators
Upvotes: 0
Reputation: 3433
If you want to do this quickly I'd recommend fastlane tools you can reset simulators with one line
fastlane snapshot reset_simulators
install fastlane tools
sudo gem install fastlane
Make sure, you have the latest version of the Xcode command line tools installed:
xcode-select --install
(https://docs.fastlane.tools/actions/capture_ios_screenshots#completely-reset-all-simulators)
And the command is
fastlane snapshot reset_simulators
Upvotes: 31
Reputation: 499
You can remove devices easily now in XCode 9, but use the Simulator toolbar. With a Simulator running, go to the top bar and go to Hardware -> Device -> Manage Devices then select Simulators. You are presented with the option [Devices | Simulators] So select simulators. Then work your way down the list, and untick the Simulators, and OS versions you don't want. Too easy. When you look in XCode for a Simulator to use, the list will now be much shorter. Removing unwanted Simulators
Upvotes: 0
Reputation: 4007
You don't need to delete the Simulators you don't want to see on the run destinations drop-down menu. On Xcode 9 you can just hide the ones that you don't need.
Go to Window > Devices and Simulators (ShiftCmd2)
Pick the Simulator from the left and untick 'Show as run destination' as seen below:
Upvotes: 3
Reputation: 47169
XCode > Window > Devices :
Then use the delete key or click the gear icon to remove simulators.
Upvotes: 12