|
@@ -7,7 +7,11 @@ end
|
|
|
|
|
|
def destinations(platform: 'iphonesimulator')
|
|
|
if platform == 'iphonesimulator'
|
|
|
- if xcode_version.start_with?('10')
|
|
|
+ if xcode_version.start_with?('11')
|
|
|
+ [ 'name=iPhone Xs,OS=13.0',
|
|
|
+ 'name=iPhone Xs,OS=12.2',
|
|
|
+ ]
|
|
|
+ elsif xcode_version.start_with?('10')
|
|
|
[ 'name=iPhone 5s,OS=12.0',
|
|
|
'name=iPhone 6,OS=12.0',
|
|
|
'name=iPhone 6s Plus,OS=12.0',
|
|
@@ -79,7 +83,10 @@ def destinations(platform: 'iphonesimulator')
|
|
|
]
|
|
|
end
|
|
|
elsif platform == 'watchsimulator'
|
|
|
- if xcode_version.start_with?('10')
|
|
|
+ if xcode_version.start_with?('11')
|
|
|
+ [ 'name=Apple Watch Series 4 - 44mm,OS=6.0'
|
|
|
+ ]
|
|
|
+ elsif xcode_version.start_with?('10')
|
|
|
[ 'name=Apple Watch Series 4 - 40mm,OS=5.0',
|
|
|
'name=Apple Watch Series 4 - 44mm,OS=5.0'
|
|
|
]
|
|
@@ -113,7 +120,10 @@ def destinations(platform: 'iphonesimulator')
|
|
|
]
|
|
|
end
|
|
|
elsif platform == 'appletvsimulator'
|
|
|
- if xcode_version.start_with?('10')
|
|
|
+ if xcode_version.start_with?('11')
|
|
|
+ [ 'name=Apple TV 4K,OS=13.0'
|
|
|
+ ]
|
|
|
+ elsif xcode_version.start_with?('10')
|
|
|
[ 'name=Apple TV 4K,OS=12.0'
|
|
|
]
|
|
|
elsif xcode_version.start_with?('9.4')
|
|
@@ -176,7 +186,7 @@ namespace :build do
|
|
|
if xcode_version.start_with?('11')
|
|
|
t.add_build_setting('SWIFT_VERSION', '5.1')
|
|
|
if platform == 'iphonesimulator'
|
|
|
- t.add_destination('name=iPhone 11,OS=13.0')
|
|
|
+ t.add_destination('name=iPhone Xs,OS=13.0')
|
|
|
elsif platform == 'watchsimulator'
|
|
|
t.add_destination('name=Apple Watch Series 5 - 44mm,OS=6.0')
|
|
|
elsif platform == 'appletvsimulator'
|