spaceship/lib/spaceship/tunes/tunes_client.rb in fastlane-2.108.0 vs spaceship/lib/spaceship/tunes/tunes_client.rb in fastlane-2.109.0
- old
+ new
@@ -32,13 +32,16 @@
resolutions = {
'iphone4' => [1136, 640],
'iphone6' => [1334, 750],
'iphone6Plus' => [2208, 1242],
'iphone58' => [2436, 1125],
+ 'iphone65' => [2688, 1242],
'ipad' => [1024, 768],
'ipad105' => [2224, 1668],
- 'ipadPro' => [2732, 2048]
+ 'ipadPro' => [2732, 2048],
+ 'iPadPro11' => [2388, 1668],
+ 'iPadPro129' => [2732, 2048]
}
r = resolutions[device]
r = [r[1], r[0]] if is_portrait
r
@@ -220,10 +223,10 @@
if errors.count == 1 && errors.first == "You haven't made any changes."
# This is a special error which we really don't care about
elsif errors.count == 1 && errors.first.include?("try again later")
raise ITunesConnectTemporaryError.new, errors.first
elsif errors.count == 1 && errors.first.include?("Forbidden")
- raise_insuffient_permission_error!
+ raise_insufficient_permission_error!
elsif flaky_api_call
raise ITunesConnectPotentialServerError.new, errors.join(' ')
else
raise ITunesConnectError.new, errors.join(' ')
end