From 7fc45c7f0b445f0acb41e9e2cf3ed5af3d617d8b Mon Sep 17 00:00:00 2001 From: Niall Quinn Date: Thu, 16 May 2024 13:02:32 +0200 Subject: [PATCH] Add sim version --- fastlane/IOSFastFile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fastlane/IOSFastFile b/fastlane/IOSFastFile index c4d0c609a..2f7541a5a 100644 --- a/fastlane/IOSFastFile +++ b/fastlane/IOSFastFile @@ -31,10 +31,11 @@ platform :ios do ###################### PUBLIC LANES ####################### lane :tests do |options| + sim_version = options[:sim_version] || "17.2" run_tests(workspace: app_workspace, scheme: "example_0_70_6Tests", sdk: "iphonesimulator#{sim_version}", - destination: "iPhone SE (3rd generation)", + destination: "os=#{sim_version},name=iPhone SE (3rd generation)", result_bundle: true, code_coverage: true, skip_package_dependencies_resolution: true,