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
for now you just change device/simulator from Product -> Destination -> pick the device. Then Run your application.enter image description here
Under Build Settings, verify that you have selected a valid SDK under iOS Deployment Target
. Mine was set to 7.1 (which appeared in a different seciton in the dropdown) which wasn't installed. Selecting 7.0 (or obviously downloading 7.1) does the trick.
First of all you need to install the simulators
Install Simulators followed by,
Adding Simulators to Xcode Click for Apple Reference 1. From the Spotlight Search type 'Simulator' and press enter 2. Choose Hardware > Device > Manage Devices. Xcode opens the Devices window.
Alternatively, if the iOS version you want to use isn’t in the iOS Version pop-up menu, choose “Download more simulators” and follow the steps to download a simulator.
Click Create.
After restoring from time machine, I had to reinstall the 8.1 simulator (settings > Download) and then adding simulators in "Window > Devices > + > Add simulator"
When none of the above steps work, check to see that your device is plugged in and turned on. (None of the above steps worked for me, and the device WAS plugged in. Oh well.) However, I have Xcode 7.3.
Go to BuildSettings, see Code Signing... under Code Signing Identity, change all entitlements to "Don't Code Sign".
Hope it helps.