How to download iPad Mini simulator

孤人 提交于 2019-12-21 06:51:36

问题


I want to test my application on iPad mini screen in Xcode 8.2, but I could not find the simulator for the same.

I have also tried to add simulator Hardware > Device > click bottom add menu but here I do not see any option to download the iPad mini simulator.


回答1:


By popular demand, Xcode now includes the iPad mini Simulator. It is not created by default, but you can use the Xcode Devices & Simulators window or xcrun simctl from the command line to create one.

For example, to create an iPad mini 4 simulator with Xcode 11.2:

xcrun simctl create "iPad mini 4" com.apple.CoreSimulator.SimDeviceType.iPad-mini-4 com.apple.CoreSimulator.SimRuntime.iOS-13-2




回答2:


I don't know about the earlier releases but you can do this on Xcode 10.2.1

Select Add Additional Simulators... from the active scheme:

Then press + to create new Simulator and select iPad mini in Device Type:




回答3:


To test apps for the iPad mini in the simulator, run your app on a simulated iPad with the corresponding type of display, either Retina or non-Retina, depending on the iPad mini model. developer.apple.com



来源:https://stackoverflow.com/questions/43154600/how-to-download-ipad-mini-simulator

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