Quick Tip: Fix Xcodes Multiple Simulator Bug

I only noticed this issue with Xcode 8 However I have found after talking to other developers that this has been a problem for a few in different versions of Xcode.

In This Quick Tip I will show you hoe to solve the problem of multiple simulators in Xcode.

Duplicate Simulators?

Ok, so incase you are wondering what I am on about. Here is a screenshot:

Now. Let me show you a few ways how to fix it. The first is to open up Terminal and run the following command:

xcrun simctl list devices | grep -v '^[-=]' | cut -d "(" -f2 | cut -d ")" -f1 | xargs -I {} xcrun simctl delete "{}"

This will delete ALL the simulators. Then you can go to: Window > Devices and add the simulators back in. The ones you actually want.

You could also use the following command, if you have SnapShot installed (https://github.com/krausefx/snapshot#installation):

snapshot reset_simulators

If you don’t already have snapshot installed:

sudo gem install snapshot.

Finally, if any of these do not work for you. You can go to Window > Device and manually delete all the Simulators there.

There you have it. A very quick tip how to remove the duplicated simulators that Xcode seems to have a bug for.

Serious about growing?

Let’s discuss how we can work together to keep your business ahead of the curve…

Tell us how we can help

You have a great idea, we have a great team!!!