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
Quite Xcode and Open it again, it will show. For me it's worked.
For those coming from Unity, even if you manage to make them show up (by changing Build Settings > Supported Platforms
to iOS
it would not run in the simulator.
Instead, you need to select this Simulator SDK :
And make sure something other than Metal exist.
Then the simulator device list will be there from start.
Just check your Deployment Target where XCode support it or not.
Looks like Xcode hides that menu when the window is a certain size. You have to make your window quite large before it comes back.
For anyone struggling with this, I tried the mentioned options without success. Turns out all I needed to do was just quit and relaunch Xcode. Simple things can be annoying sometimes.
In my case i'd accidentally deleted ios devices in system Finder -> Library->Devices->Core simulator
So, the simulators are not listed in the Xcode project except ios device.
I solved this by adding ios simuulators from Xcode->Window->Devices->Add simulators
Hope it'll help someone.