Saturday, October 21, 2017

iPhone Simulator Zombies, how to destroy them

If you're on the same machine for years, and multiple versions of OSX and Xcode, likely you'll build up a large list of simulators that show when you want to select a simulator to run your app on.

As of Xcode 9 this became a breaking feature (at least for me).  Xcode had a hard time scrolling through the massive list, so searching online found a few solutions, and I just compiled them together here:

1) Remove yourself from iOS teams you no longer work on.

As far as I can tell this is a recent addition, as before you had to ask the team admin to remove you.


2) Remove the profiles from your machine (might as well nuke them all).

The path to do this is here (credit goes to Alex from the Houston iPhone Developer UG):


3) Remove all the simulators you no longer need, I'd say remove all of them then reinstall the ones you want.

In Xcode go Window -> Devices and Simulators

Unfortunately there's no "Delete All" or select all feature.  You'll have to manually delete them 1 at a time.


Or if you're extremely brave (I'm not) you can try this in the command line:

Credit goes to Joao from the Houston iPhone Developers UG:


I totally do not know if this will work, you've been warned :)


4) Add back the simulators along with their versions of iOS you want.

In the same Devices and Simulators page in Xcode at the bottom there is an add button:


Now you should have a nice clean list of the simulators and the iOS versions to choose from:

(before it was about 10-20 simulators of the same type with just a certificate number next to it)






10 comments:

  1. We have sell some products of different custom boxes.it is very useful and very low price please visits this site thanks and please share this post with your friends. visit site here

    ReplyDelete
  2. This is really fascinating, You are a very professional blogger. I’ve joined your rss feed and sit up for searching for more of your great post. Also, I have shared your site in my social networks! iphone photoshop

    ReplyDelete
  3. Wow this hit it to the spot we will bookmark on Bebo and also Hub pages thanks love it And also my prayers to the people at atomic plant we hope you are OK along with safer too !!! Kudos Financial Advisers iphone device template

    ReplyDelete
  4. You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. https://powerbite.co.za/product-category/used-smartphones/cpo-iphones/iphone-8-cpo/

    ReplyDelete
  5. You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. iPhone 8

    ReplyDelete
  6. I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post. Outlook CRM

    ReplyDelete

Feedback for my Apps.

I realized getting a hold of me directly through the App Store was difficult, so if you have an issue with any of my apps in the App Store, ...