Why do my xcode builds always go to the iPad simulator instead of the iPhone simulator?

蹲街弑〆低调 提交于 2020-01-23 05:59:56

问题


I just installed the latest SDK from Apple so I can start learning iPhone / iPad app development. However, I'm having a stupid issue: all my builds get run in the iPad simulator instead of the iPhone simulator, and I have no idea how to change it.


回答1:


For now, the iPhone Simulator 3.2 SDK is iPad-only. Test using the iPhone Simulator 3.1.2 SDK

edit: as of the upcoming 4.2 SDK, the iPhone and iPad versions of iOS have been unified under a single SDK.




回答2:


On your build selector dropdown, (where you select device or simulator), there's now a new option that lets you choose the "Active Executible." Choose "iPhone Simulator."

alt text http://img.skitch.com/20100227-qyadm4ktn3abr3j44upkufjieh.jpg




回答3:


Thought I found the answer at this question: Setting the active executable in Xcode

But although it does let me see other active executables, "iPhone Simulator (3.2)" does not appear.



来源:https://stackoverflow.com/questions/2349142/why-do-my-xcode-builds-always-go-to-the-ipad-simulator-instead-of-the-iphone-sim

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!