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