Sebastian Boldt
Sebastian Boldt

Reputation: 5321

Reinitializing Simulators in XCode

My Simulators are destroyed somehow after installing different Xcode Versions on my machine, moved and renamed them etc. . Is it possible to remove all current Simulators listed inside the Devices Manager and do a clean reinstall or do i have to remove and add them manually ? I tried to reinstall Xcode with no success.

enter image description here

Upvotes: 2

Views: 48

Answers (1)

Jiri Trecak
Jiri Trecak

Reputation: 5122

Yes, it is possible to remove / Add all of them, or whatever type you want. Go to

Xcode > Window > Devices

From here, scroll to the bottom, where you will see header saying "Simulators". Those are all simulators that you created (or system created), you can right-click and delete them. There is also button "+" at the bottom, where you can readd them.

Here is screenshot of how it looks:

enter image description here

Hope it helps!

EDIT: If you want to delete them all at once, please use following script, as it is not possible to remove them all at once from the UI:

https://gist.github.com/cabeca/cbaacbeb6a1cc4683aa5

Upvotes: 1

Related Questions