Xcode only lets me run for an iOS device (no simulator)

前端 未结 19 675
一个人的身影
一个人的身影 2021-01-31 07:08

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

19条回答
  •  走了就别回头了
    2021-01-31 07:31

    Under Your project Build Settings

    1. select Deployment section
    2. change iOS Deployment Target to a version iOS 5.0 or less
    3. 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.

提交回复
热议问题