xcode8 list of simulators not showing
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.
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.
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.
Comments
-
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 about 7 yearsGreat solution, Thought I had to download it again
-
uudaddy about 7 yearsTried 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 almost 7 yearsthanks 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 almost 7 yearsNone 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 almost 7 yearsThat's it !! Thanks.
-
teradyl almost 7 yearsOnce 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 over 6 years@DanLoewenherz glad to hear it was helpful. :)
-
user1244109 over 6 yearsa year past, similar problem - only Xode 9 instead of 8 (beta 6). And unfortunately, it didn't work.
-
Johnykutty over 6 yearsThis 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 over 6 yearsthis 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 over 6 yearsShould be higher up. Thanks for the tip!
-
Evan R over 6 yearsDidn't work for me, although it did make the list of recent files start showing when you go to File -> Open Recent.
-
Evan R over 6 yearsThis worked for me—default
iOS Deployment Target
value was set to11.0
for a new iOS 11 project. Once iOS10.x
was selected I was able to see my iOS 10.x simulators. -
Khaled Annajar over 5 yearsYou saved my day :)
-
Clinton over 5 yearsthis is it. this is the one.
-
Gene Z. Ragan over 4 yearsThis was my issue. I was hopping between XCode and an XCode Beta.