@@ -2,16 +2,12 @@ skip_docs
22
33devices = {
44 "ios" => {
5- 13 => [ "iPhone 11 (13.7)" , "iPad Pro (9.7-inch) (13.7)" ] ,
6- 14 => [ "iPhone 12 (14.5)" , "iPad Pro (9.7-inch) (14.5)" ] ,
75 15 => [ "iPhone SE (3rd generation) (15.5)" , "iPad Air (5th generation) (15.5)" , ] ,
86 16 => [ "iPhone 14 (16.4)" , "iPad Pro (11-inch) (4th generation) (16.4)" ] ,
97 17 => [ "iPhone 15 (17.5)" , "iPad Pro 11-inch (M4) (17.5)" ] ,
108 18 => [ "iPhone 16 (18.2)" , "iPad Pro 11-inch (M4) (18.2)" ] ,
119 } ,
1210 "tvos" => {
13- 13 => [ "Apple TV (13.4)" ] ,
14- 14 => [ "Apple TV (14.5)" ] ,
1511 15 => [ "Apple TV (15.4)" ] ,
1612 16 => [ "Apple TV (16.4)" ] ,
1713 17 => [ "Apple TV (17.5)" ] ,
@@ -91,13 +87,7 @@ lane :test do |options|
9187 )
9288 end
9389 else
94- is_legacy_sdk = ( platform == "ios" && version == 13 ) || ( platform == "tvos" && version == 13 )
95- scheme = case scheme
96- when "SwiftUIIntrospectTests"
97- is_legacy_sdk ? "LegacySwiftUIIntrospectTests" : "SwiftUIIntrospectTests"
98- when "SwiftUIIntrospectUITests"
99- "SwiftUIIntrospectUITests"
100- else
90+ unless [ "SwiftUIIntrospectTests" , "SwiftUIIntrospectUITests" ] . include? ( scheme )
10191 raise "Unsupported scheme: #{ scheme } "
10292 end
10393 run_tests (
0 commit comments