I open my project in Xcode 6.1. When I try to run the project, the button is grayed out. When I try to go to Product > Clean
, the option is grayed out. When
Also check the iOS Deployment Target
under build settings. I was using Xcode 6.3 while the deployment target was set to iOS 8.4. I got the list of simulators as soon as I set it to iOS 8.3
I ran into another situation where this can occur. I work with a team we use Xcode server for continuous integration. The server wasn't seeing any simulators, but only for one project. I eventually determined that this was due to the fact that the version of Xcode on our server was one release earlier, and the Xcode project was set to build to the newest version available. Simply updating Xcode solved the issue for us.
Make sure that the project you are trying to run has deployment target
equal to or less then the SDK version of your Xcode. In my case I tried to run a project which was built using iOS8.4
but I have Xcode6.1 with SDK version 8.1
I changed the deployment target to 8.1 and it start showing me simulators.
P.S before doing this, make sure that your code and external libraries are compatible with your new deployment target, else you have to update your Xcode.
Go to Window then Devices and press the plus button at the bottom left to add a device and select the simulator which are required.This worked for me.
Same Problem happened with me.. When I updated from Xcode 8 Beta 3 to Xcode 8 Beta 4, But I resolved it by this way..
you can see all Devices and Simulators here
If above does not work.. as if you do not see any simulators, then..
It worked for me.. Hope will be helpful for someone later..
I could not find any solution that would fix my issue. All simulators were there for all projects but the one that I needed them.
Solution:
Build Settings -> Architectures -> Supported Platforms:
changed from iphoneos to iOS