From 8062044d1174ddd5770b53f37364d4aeee48ffd2 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Thu, 18 Sep 2025 20:51:05 +0300 Subject: [PATCH] =?UTF-8?q?Everybody=20do=20the=20Xcode=20=F0=9F=8E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastlane/Fastfile | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 9da3d3002..78808f271 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -8,7 +8,7 @@ if File.exist?(enterprise) end before_all do - xcversion(version: "16.4") + xcversion(version: "26") ENV["FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT"] = "180" ENV["FASTLANE_XCODE_LIST_TIMEOUT"] = "180" @@ -20,7 +20,7 @@ lane :unit_tests do |options| run_tests( scheme: "UnitTests", - device: "iPhone 16 (18.5)", + device: "iPhone 17 (26.0)", ensure_devices_found: true, result_bundle: true, number_of_retries: 3, @@ -30,7 +30,7 @@ lane :unit_tests do |options| if !options[:skip_previews] run_tests( scheme: "PreviewTests", - device: "iPhone SE (3rd generation) (18.5)", + device: "iPhone SE (3rd generation) (26.0)", ensure_devices_found: true, result_bundle: true, number_of_retries: 3, @@ -46,20 +46,20 @@ lane :ui_tests do |options| # Presumably because launching 2 simulators uses more memory than the runner has available. if options[:device] == "iPhone" - device = "iPhone-18.5" + device = "iPhone-26.0" create_simulator_if_necessary( - name: "iPhone-18.5", - type: "com.apple.CoreSimulator.SimDeviceType.iPhone-16", - runtime: "com.apple.CoreSimulator.SimRuntime.iOS-18-4" + name: "iPhone-26.0", + type: "com.apple.CoreSimulator.SimDeviceType.iPhone-17", + runtime: "com.apple.CoreSimulator.SimRuntime.iOS-26-0" ) elsif options[:device] == "iPad" - device = "iPad-18.5" + device = "iPad-26.0" create_simulator_if_necessary( - name: "iPad-18.5", - type: "com.apple.CoreSimulator.SimDeviceType.iPad-10th-generation", - runtime: "com.apple.CoreSimulator.SimRuntime.iOS-18-4" + name: "iPad-26.0", + type: "com.apple.CoreSimulator.SimDeviceType.iPad-A16", + runtime: "com.apple.CoreSimulator.SimRuntime.iOS-26-0" ) else UI.user_error!("Please supply a device argument as device:iPhone or device:iPad") @@ -90,7 +90,7 @@ lane :accessibility_tests do |options| run_tests( scheme: "AccessibilityTests", - device: "iPhone 16 (18.5)", + device: "iPhone 17 (26.0)", ensure_devices_found: true, prelaunch_simulator: false, result_bundle: true, @@ -104,16 +104,16 @@ lane :integration_tests do clear_derived_data() create_simulator_if_necessary( - name: "iPhone-18.5", - type: "com.apple.CoreSimulator.SimDeviceType.iPhone-16-Pro", - runtime: "com.apple.CoreSimulator.SimRuntime.iOS-18-4" + name: "iPhone-26.0", + type: "com.apple.CoreSimulator.SimDeviceType.iPhone-17-Pro", + runtime: "com.apple.CoreSimulator.SimRuntime.iOS-26-0" ) reset_simulator = ENV.key?('CI') run_tests( scheme: "IntegrationTests", - device: "iPhone-18.5", + device: "iPhone-26.0", ensure_devices_found: true, result_bundle: true, reset_simulator: reset_simulator