开发者

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

开发者 https://www.devze.com 2022-12-21 06:17 出处:网络
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 sim开发者_JAVA技巧ulator instea

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 sim开发者_JAVA技巧ulator instead of the iPhone simulator, and I have no idea how to change it.


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号