Device 'iPad Pro (12.9-inch) (2nd generation)' not in list of available simulators

Here's what you need to do to get iPad Pro (12.9-inch) (2nd generation) iOS 13.7:

xcrun simctl create "iPad Pro (12.9-inch) (2nd generation)" "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-" "com.apple.CoreSimulator.SimRuntime.iOS-13-7"

If you got a newer/older iOS version just edit the command.


You can add as described in this apple forum topic :

Xcode 11 by default only includes a simulator for "iPad Pro (12.9-inch) (3rd generation)", but you can install a simulator for "iPad Pro (12.9-inch) (2nd generation)":

Open Xcode Window > Devices and Simulators Select Simulators tab. The list of your current siumulators should appear in the the left sidebar of the window. Click the "+" at the bottom of the sidebar. The "Create a new simulator" sheet should appear. Click the Device Type menu and select "iPad Pro (12.9-inch) (2nd generation)" Click Create

Then you can create screenshots for the "iPad Pro (12.9-inch) (2nd generation)" using your new old simulator.

I am currently using xcode 11.3.1 and it worked very well.