I was hoping someone would know what to do with this error I am receiving after running fastlane snapshot
Error setting value '["iPhone 11 Pro Max", "iPhone 8 Plus", "iPad Pro (12.9-inch) (2nd generation)", "iPad Pro (12.9-inch) (3rd generation)"]' for option 'devices' [!] Device 'iPad Pro (12.9-inch) (2nd generation)' not in list of available simulators 'iPhone 8, iPhone 8 Plus, iPhone 11, iPhone 11 Pro, iPhone 11 Pro Max, iPad Pro (9.7-inch), iPad Pro (11-inch), generation), Apple TV, Apple TV 4K, 1080p), Apple Watch Series 4 - 40mm, Apple Watch Series 4 - 44mm, Apple Watch Series 5 - 40mm, Apple Watch Series 5 - 44mm'
I have double checked Xcode (11.1). I do have the iPad Pro (12.9-inch) (both generations) in the simulator list but somehow it isn't picked up when calling fastlane snapshot. I added the two iPad Pro (12.9-inch) generations to Xcode after I updated from 10.3 as Xcode removed these two simulators for 11.1. So I think maybe adding these two post update is causing the issue.
I have ran xcrun simctl list to get the list of available simulators and can confirm they are present on the list.
If anyone has any suggestions please let me know.
As requested, the Snapfile:
devices(["iPhone 11 Pro Max", "iPhone 8 Plus","iPad Pro (12.9-inch) (2nd generation)","iPad Pro (12.9-inch) (3rd generation)"])
languages(["en-GB","en-US","fr-FR"])
scheme("Example_UITests") output_directory("./fastlane/screenshots") clear_previous_screenshots(true) number_of_retries(0) reinstall_app(true)
Image of the list of simulators installed in Xcode:
The 12.9 inch version was discontinued on October 30, 2018 after the announcement of the 3rd generation iPad Pro, however, the 10.5 inch version continued in production along with the 11 inch version until March 18, 2019 when the iPad Air (3rd generation) was announced.
Faster performance and graphics. And M1 has an 8‑core GPU in a class of its own, providing up to 40 percent faster graphics performance to iPad Pro. So you can build intricate AR models, play games with console‑quality graphics at high frame rates, and more.
This guide helps you get started using iPad and discover all the amazing things it can do with iPadOS 14.6, which is compatible with the following models: iPad Pro 12.9-inch (5th generation) iPad Pro 12.9-inch (4th generation)
Go to Settings > General > About. To determine your iPad model from the physical details, see the Apple Support article Identify your iPad model. You can update to the latest iPadOS software if your model supports it. Your features and apps may vary depending on your iPad model, region, language, and carrier.
To see the model and software version of your iPad, go to Settings > General > About. See Get information about your iPad. Your features and apps may vary depending on your iPad model, region, language, and carrier. To find out which features are supported in your region, see the iOS and iPadOS Feature Availability website.
12.9-inch (diagonal) LED-backlit Multi-Touch display 2732-by-2048 resolution at 264 pixels per inch (ppi) Slo‑mo video support for 1080p at 120 fps and 720p at 240 fps iPad to any FaceTime-enabled device over Wi-Fi or cellular iPad to any FaceTime-enabled device over Wi-Fi or cellular
Here's what you need to do to get iPad Pro (12.9-inch) (2nd generation):
xcrun simctl create "iPad Pro (12.9-inch) (2nd generation)" "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-"
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