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.
How do I launch the iPad simulator?
Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download. When a simulator is opened from AppStudio, AppStudio Player automatically installs (if necessary) and opens in it.
Connect the device to your Mac, and choose the device in the run destination menu. For macOS versions of an iPad app, choose My Mac (the Mac running Xcode) as the device.
The Simulator app requires several other large directories from the Xcode distribution in order to work at all. The only official way to install all of those properly is to install the entire SDK from the dmg.
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:
Click on Hardware/Device/Manage Devices...
Select the Simulators option on the top.
Press the plus (+) sign in the lower-left corner.
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.
This is for Xcode 11.2.1+
open XCode, from the App menu:
Xcode -> Open Developer Tool -> Simulator
This will open the latest iPhone simulator and to change it to anything else e.g iPad:
Hardware -> Device -> iOS -> iPad
This has changed. Now, after you opened your simulator as you mentioned you need in the simulator menu bar to go to: File -> Open Simulator -> [ios version] -> [ios device] There you can find an ipad simulator to open.
For bonus points :)
I would also extract the simulator from inside Xcode to make it more accessible.
Applications / Xcode.app
( right click and select "Show Package Contents" )
From this folder Contents / Developer / Applications / Simulator.app
Create a shortcut to that and simulator opens without opening the main Xcode.app
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With