I just cloned a project into Xcode and am trying to run it in the simulator. However, my only option is iOS Device. This is unique to this project only and I don\'t know how to
I tried every suggested solution I could find on stackoverflow.
Eventually, I deleted the Xcode app and downloaded it again from the App Store. After installation, the simulators were back.
Then select iphone6 on top left of your project.
http://i.stack.imgur.com/KJxaA.png
No big deal. I have just restarted the Xcode & iOS simulator. Then, it displayed all the simulators.
The problem for me happened when I downloaded a project from someone else and their deployment target was like 10.2 and my Xcode wasn't fully updated so it only supported til 10.0.
Solution was :
Click on project >> General >> Deployment Info >> Deployment Target
From there just change it from a grayed out number to a number that it's not.
What you can do to add Simulators in your xCode is go to
Windows -> Devices
There on the bottom left, press the plus button. In this way you can add different simulators with OS as per you need.
What had happened to me was that I created a project using a device that had the latest iOS installed, 8.3. When I moved that project to another computer without a device the simulators didn't appear for me to choose from, only the device (which I didn't have). The reason was that the simulators only went up to 8.1 (which is less than 8.3, obviously). So I changed the 'Deployment>iOS Development Target' to 8.1 (from 8.3) in Build Settings and the simulators appeared in Xcode as expected.