问题
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