Upgrade the project to use Xcode 15.4 (#3027)

* Update snapshots for Xcode 15.4

* Update CI.

* Fix crashing UI test.

* Fix compile error in Integration Tests.

* Try putting UI tests on GH runners again.
This commit is contained in:
Doug
2024-07-11 17:38:32 +01:00
committed by GitHub
parent c164e47ea4
commit c92c6a28ae
1133 changed files with 2265 additions and 2266 deletions
+7 -6
View File
@@ -7,7 +7,7 @@ if File.exist?(enterprise)
end
before_all do
xcversion(version: "15.2")
xcversion(version: "15.4")
ENV["FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT"] = "180"
ENV["FASTLANE_XCODE_LIST_TIMEOUT"] = "180"
@@ -91,7 +91,8 @@ lane :unit_tests do |options|
if !options[:skip_previews]
run_tests(
scheme: "PreviewTests",
device: 'iPhone 15',
device: 'iPhone SE (3rd generation)',
ensure_devices_found: true,
result_bundle: true,
number_of_retries: 3,
xcargs: '-skipPackagePluginValidation',
@@ -106,15 +107,15 @@ lane :ui_tests do |options|
reset_simulator_contents()
create_simulator_if_necessary(
name: "iPhone 15 (17.2)",
name: "iPhone 15",
type: "com.apple.CoreSimulator.SimDeviceType.iPhone-15",
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-17-2"
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-17-5"
)
create_simulator_if_necessary(
name: "iPad (10th generation)",
type: "com.apple.CoreSimulator.SimDeviceType.iPad-10th-generation",
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-17-2"
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-17-5"
)
if options[:test_name]
@@ -141,7 +142,7 @@ lane :integration_tests do
create_simulator_if_necessary(
name: "iPhone 15 Pro",
type: "com.apple.CoreSimulator.SimDeviceType.iPhone-15-Pro",
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-17-2"
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-17-5"
)
run_tests(