snapshot/lib/snapshot/reports_generator.rb in fastlane_hotfix-2.165.1 vs snapshot/lib/snapshot/reports_generator.rb in fastlane_hotfix-2.187.0

- old
+ new

@@ -82,10 +82,14 @@ def xcode_9_and_above_device_name_mappings { # snapshot in Xcode 9 saves screenshots with the SIMULATOR_DEVICE_NAME # which includes spaces + 'iPhone 12 Pro Max' => "iPhone 12 Pro Max", + 'iPhone 12 Pro' => "iPhone 12 Pro", + 'iPhone 12 mini' => "iPhone 12 mini", + 'iPhone 12' => "iPhone 12", 'iPhone 11 Pro Max' => "iPhone 11 Pro Max", 'iPhone 11 Pro' => "iPhone 11 Pro", 'iPhone 11' => "iPhone 11", 'iPhone XS Max' => "iPhone XS Max", 'iPhone XS' => "iPhone XS", @@ -122,10 +126,12 @@ 'iPad Pro' => 'iPad Pro (12.9-inch)', # iOS 9.3 simulator 'Apple TV 1080p' => 'Apple TV', 'Apple TV 4K (at 1080p)' => 'Apple TV 4K (at 1080p)', 'Apple TV 4K' => 'Apple TV 4K', 'Apple TV' => 'Apple TV', - 'Mac' => 'Mac' + 'Mac' => 'Mac', + 'Apple Watch Series 5 - 44mm' => 'Apple Watch Series 5 - 44mm', + 'Apple Watch Series 6 - 44mm' => 'Apple Watch Series 6 - 44mm' } end def available_devices if Helper.xcode_at_least?("9.0")