This commit is contained in:
David Roman 2023-06-03 17:31:17 +01:00
parent 3909b3a361
commit 7e95a56fed
No known key found for this signature in database
GPG Key ID: 7058646EEFCB70A7
1 changed files with 9 additions and 0 deletions

View File

@ -83,6 +83,15 @@ lane :test do |options|
raise "Unsupported scheme: #{scheme}"
end
else
is_legacy_sdk = (platform == "ios" && version == 13) || (platform == "tvos" && version == 13)
scheme = case scheme
when "Introspect"
"Introspect"
when "SwiftUIIntrospectTests"
is_legacy_sdk ? "LegacySwiftUIIntrospectTests" : "SwiftUIIntrospectTests"
else
raise "Unsupported scheme: #{scheme}"
end
run_tests(
configuration: configuration,
scheme: scheme,