Upgrade the project to use Xcode 26.4 (and the 26.4 simulator for tests). (#5375)

* Upgrade the project to use Xcode 26.4 (and iOS 26.4 when running tests).

* Update the test OS assertions.

* updated preview tests

# Conflicts:
#	PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenInviteCell.iPhone-en-GB-0.png
#	PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenInviteCell.iPhone-pseudo-0.png

* update compound preview tests

---------

Co-authored-by: Mauro Romito <mauro.romito@element.io>
This commit is contained in:
Doug
2026-04-16 13:33:20 +01:00
committed by GitHub
parent a0baa82471
commit a3bb30bc3d
1939 changed files with 3831 additions and 3831 deletions

View File

@@ -9,7 +9,7 @@ struct AccessibilityTests: AsyncParsableCommand {
var device = "iPhone 17"
@Option(help: "iOS version for the simulator.")
var osVersion = "26.1"
var osVersion = "26.4"
func run() async throws {
var testsFailed = false

View File

@@ -13,7 +13,7 @@ struct IntegrationTests: AsyncParsableCommand {
var device = "iPhone 17"
@Option(help: "iOS version for the simulator.")
var osVersion = "26.1"
var osVersion = "26.4"
func run() async throws {
// Delete old log files

View File

@@ -9,7 +9,7 @@ struct RunTests: AsyncParsableCommand {
Examples:
swift run tools run-tests --scheme UnitTests
swift run tools run-tests --scheme UITests --device iPhone --os-version 26.1
swift run tools run-tests --scheme UITests --device iPhone --os-version 26.4
swift run tools run-tests --scheme PreviewTests --create-simulator-name "iPhone SE (3rd generation)" \
--create-simulator-type com.apple.CoreSimulator.SimDeviceType.iPhone-SE-3rd-generation
""")
@@ -20,8 +20,8 @@ struct RunTests: AsyncParsableCommand {
@Option(help: "The simulator device name to run tests on (e.g. 'iPhone 17').")
var device = "iPhone 17"
@Option(help: "The iOS version to use for the simulator runtime (e.g. '26.1').")
var osVersion = "26.1"
@Option(help: "The iOS version to use for the simulator runtime (e.g. '26.4').")
var osVersion = "26.4"
@Option(help: "Number of times to retry failed tests. Only the failing tests are re-run, not the entire suite.")
var retries = 0

View File

@@ -20,7 +20,7 @@ struct UITests: AsyncParsableCommand {
var deviceType: DeviceType
@Option(help: "iOS version for the simulator.")
var osVersion = "26.1"
var osVersion = "26.4"
@Option(help: "Run only a specific test (format: 'ClassName/testName').")
var testName: String?

View File

@@ -9,7 +9,7 @@ struct UnitTests: AsyncParsableCommand {
var device = "iPhone 17"
@Option(help: "iOS version for the simulator.")
var osVersion = "26.1"
var osVersion = "26.4"
@Flag(help: "Skip preview tests")
var skipPreviews = false