I have a Swift 5 app that I would like to test on an iPad simulator but the only iPad simulator available is iPad (8th generation). I have a 5th generation iPad which is running iPadOS 15.4 which is presumably capable of running a Swift 5 app but its simulator does not appear in the list of possible iOS simulators.
Simulators for Swift 5 app
Which Xcode version do you use ?
On Xcode 13.3, I get iPad 9th generation. And iOS 15.4.
To add a new Simulator
From Xcode:
- Window > Devices and Simulators > Simulators
- {Shows a list of currently-installed Simulators}
Click the "+" button (at the bottom-left)
- Choose the Simulator you want to add
e.g.
- Device Type: iPad (5th generation)
- OS Version: iOS 15.4
Click the "Create" button, to add the new Simulator
I'm using XCode 12.3 so the highest iOS version is 14.3 rather than 15.4 but the procedure above worked OK - thanks
On Xcode 12;3, no iOS 15.4 simulator. Need to upgrade to Xcode 13.3.