mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
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:
+7
-6
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user