How do I run an iPad Simulator in Xcode?

前端 未结 4 1574
无人共我
无人共我 2021-02-19 03:48

I am trying to run an iPad simulator on Xcode, but currently I only have one option when I go to Xcode > Open Developer Tool > Simulator, which launches the iPhone simulator.

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-19 04:29

    You should select an iPad device by navigating to

    Hardware/Device/[OS version if you have multiple OS versions installed]/[device]

    in the simulator's menu.

    If there are no iPad devices in the list, follow these instructions:

    1. Click on Hardware/Device/Manage Devices...

    2. Select the Simulators option on the top.

    3. Press the plus (+) sign in the lower-left corner.

    4. Define the name, the device type and the OS version of the new simulator, then click on Create.

    For more information, check out Getting started in Simulator.

提交回复
热议问题