Preview tests migration to swift 6.2 (#5786)

preview tests now use swift 6.2
This commit is contained in:
Mauro
2026-06-24 14:24:46 +02:00
committed by GitHub
parent 80f747985f
commit 10b48d37ad
3 changed files with 9 additions and 1 deletions
+6
View File
@@ -9602,6 +9602,9 @@
PRODUCT_BUNDLE_IDENTIFIER = "${BASE_BUNDLE_IDENTIFIER}.preview.tests";
PRODUCT_NAME = PreviewTests;
SDKROOT = iphoneos;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
SWIFT_VERSION = 6.2;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ElementX.app/ElementX";
};
@@ -10064,6 +10067,9 @@
PRODUCT_BUNDLE_IDENTIFIER = "${BASE_BUNDLE_IDENTIFIER}.preview.tests";
PRODUCT_NAME = PreviewTests;
SDKROOT = iphoneos;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
SWIFT_VERSION = 6.2;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ElementX.app/ElementX";
};
-1
View File
@@ -12,7 +12,6 @@ import Combine
import SwiftUI
import Testing
@MainActor
struct PreviewTests {
private struct SnapshotDevice {
let name: String
+3
View File
@@ -41,6 +41,9 @@ targets:
base:
PRODUCT_NAME: PreviewTests
PRODUCT_BUNDLE_IDENTIFIER: ${BASE_BUNDLE_IDENTIFIER}.preview.tests
SWIFT_VERSION: 6.2
SWIFT_APPROACHABLE_CONCURRENCY: YES
SWIFT_DEFAULT_ACTOR_ISOLATION: MainActor
debug:
release: