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)