xcode8 list of simulators not showing

25,463

Solution 1

Deleting derived data and restarting Xcode worked in my case.

rm -rf ~/Library/Developer/Xcode/DerivedData/*

Solution 2

Ensure your Deployment Target version in Build Settings is also set to the desired version (and that you have that version of the respective simulator installed). In the below example, if that were set to 10.3 and I didn't have an iOS 10.3 simulator installed, I wouldn't be able to see any simulators. But because it's set to 10.1, and I have 10.1 simulators installed, I can see them. enter image description here

Solution 3

If this issue is project - specific, you opened a project which has "Supported platforms" build setting set to iphone or such. Most likely this is due to simulator not having the required capabilities or an embedded library not compiled to run on simulator.

Change this setting to "iOS" to see the simulators available for running.

enter image description here

Solution 4

Set proper deployment target. And also the simulators with greater/same deployment target versions needs to be downloaded.

Solution 5

TL;DR sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

A year past OP, after installing Xcode 9 beta 6 the 10.3 simulators disappeared from xcode 8. rm -rf ~/Library/Developer/Xcode/DerivedData/* didn't work this time.

Runnin xcode-select --print-path printed /Applications/Xcode.app/Contents/Developer.

Just to make sure, tried sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer, which worked after xcode restart.

Share:
25,463
Ryan Cocuzzo
Author by

Ryan Cocuzzo

Woah

Updated on April 03, 2020

Comments

  • Ryan Cocuzzo
    Ryan Cocuzzo about 4 years

    I have been only recently working with Xcode 8 beta 4 but it has been working fine up until now. The list of simulators is not showing for any of my projects. I already tried Creating a new Scheme and it did not work. How do I fix this?

  • Ismail Iqbal
    Ismail Iqbal about 7 years
    Great solution, Thought I had to download it again
  • uudaddy
    uudaddy about 7 years
    Tried this approach but it did not work. So I was curious and tried to run the simulator itself. Got this error: Unable to determine simulator device to boot. I followed the suggestion by thegreenpizza at this post and it worked. stackoverflow.com/questions/24011986/…
  • lfender6445
    lfender6445 almost 7 years
    thanks for this, i had started a project targeting IOS 11 but did not have any simulators supporting the OS - setting target to 10.3 fixed the issue and supported simulators began appearing again
  • Chuck H
    Chuck H almost 7 years
    None of the other answers worked for me. Sort of to my surprise, rebooting worked and all of the Simulators are now back. Definitely +1
  • Fattie
    Fattie almost 7 years
    That's it !! Thanks.
  • teradyl
    teradyl almost 7 years
    Once here, you have to click the + button and choose the iOS version and iPhone type you want. You will have to download the simulators first.
  • JaredH
    JaredH over 6 years
    @DanLoewenherz glad to hear it was helpful. :)
  • user1244109
    user1244109 over 6 years
    a year past, similar problem - only Xode 9 instead of 8 (beta 6). And unfortunately, it didn't work.
  • Johnykutty
    Johnykutty over 6 years
    This worked for me.. when I tried to open Xcode 9 beta, Xcode-select default path got changed. Switched back to Xcode 8 and working fine
  • Muhammad Shauket
    Muhammad Shauket over 6 years
    this worked for me, i tried many methods like download new simulator quit xcode , re run xcode again, nothing worked but switch command worked for me, thanks @user1244109
  • Name McChange
    Name McChange over 6 years
    Should be higher up. Thanks for the tip!
  • Evan R
    Evan R over 6 years
    Didn't work for me, although it did make the list of recent files start showing when you go to File -> Open Recent.
  • Evan R
    Evan R over 6 years
    This worked for me—default iOS Deployment Target value was set to 11.0 for a new iOS 11 project. Once iOS 10.x was selected I was able to see my iOS 10.x simulators.
  • Khaled Annajar
    Khaled Annajar over 5 years
    You saved my day :)
  • Clinton
    Clinton over 5 years
    this is it. this is the one.
  • Gene Z. Ragan
    Gene Z. Ragan over 4 years
    This was my issue. I was hopping between XCode and an XCode Beta.