Xcode simulator Add iphone5

喜夏-厌秋 提交于 2019-12-12 23:09:33

问题


I want to test my phonegap-jqm application in iphone 5 simulator. Currently the application perfectly working in ipad 6.0 simulator.

How to add/install simulator (iphone5) in xcode 4.5.2

Thanks in advance.


回答1:


iPhone 5 (4-inch retina)

If you want to test in iPhone 5, select appropriate configuration in iOS Simulator Hardware -> Device

Download iOS 5 simulator

If you want to install another version of iOS simulator, go to Xcode preferences -> Downloads and download simulator you want.

Ensure that your project target is 5.x or lower to run on iOS 5.x

BR.
Eugene




回答2:


It should be installed by default. You should check wether you have your app built for iPhone and iPad (Universal) or only for the iPad. In the picture down, the app will run both on iPhone and iPad, but on iPad it will be in an iPhone simulation mode with a 2x button down.

If it is built only for the iPad you won't be able to test it on the iPhone. Also check out this question.



来源:https://stackoverflow.com/questions/15270689/xcode-simulator-add-iphone5

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