Xcode only lets me run for an iOS device (no simulator)
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 fix it. Anyone else run into this and know how to fix it?
Under Your project Build Settings
- select Deployment section
- change iOS Deployment Target to a version iOS 5.0 or less
- now you can go ahead and change the deployment target from device to simulator!
In my case the deployment target was set to version 5.1 and i still am running snow leapord OS with appropriate JARS copied from xcode 4.3 to make it run with a device running iOS 5.1.
However, my simulators do not yet support version 5.1 so till i changed the deployment target to lower version e.g. 5.0 or 4.2 it won't let me run on simulator.
Click to target or project > Build Settings > Achitecture > Supported Platforms : change to iOS
What worked for me was going to Window>Devices and pressing the plus button at the bottom left to add a device and choose the simulator you want to add.