diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 451a1c4..b6a334d 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -30,7 +30,7 @@ jobs: uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 with: scheme: TemplatePackage - destination: 'platform=watchOS Simulator,name=Apple Watch Series 9 (45mm)' + destination: 'platform=watchOS Simulator,name=Apple Watch Series 10 (46mm)' resultBundle: TemplatePackage-watchOS.xcresult artifactname: TemplatePackage-watchOS.xcresult packagevisionos: @@ -82,7 +82,7 @@ jobs: runsonlabels: '["macOS", "self-hosted"]' path: 'Tests/UITests' scheme: TestAppWatchApp - destination: 'platform=watchOS Simulator,name=Apple Watch Series 9 (45mm)' + destination: 'platform=watchOS Simulator,name=Apple Watch Series 10 (46mm)' resultBundle: TestApp-watchOS.xcresult artifactname: TestApp-watchOS.xcresult visionos: diff --git a/Tests/UITests/TestAppUITests/TestAppUITests.swift b/Tests/UITests/TestAppUITests/TestAppUITests.swift index 82a97bb..c3fa36f 100644 --- a/Tests/UITests/TestAppUITests/TestAppUITests.swift +++ b/Tests/UITests/TestAppUITests/TestAppUITests.swift @@ -17,7 +17,8 @@ class TestAppUITests: XCTestCase { continueAfterFailure = false } - + + @MainActor func testTemplatePackage() throws { let app = XCUIApplication() app.launch() diff --git a/Tests/UITests/UITests.xcodeproj/project.pbxproj b/Tests/UITests/UITests.xcodeproj/project.pbxproj index 11bc151..ef8e031 100644 --- a/Tests/UITests/UITests.xcodeproj/project.pbxproj +++ b/Tests/UITests/UITests.xcodeproj/project.pbxproj @@ -546,7 +546,6 @@ SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_STRICT_CONCURRENCY = complete; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,3,7"; }; name = Debug; @@ -581,7 +580,6 @@ SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_STRICT_CONCURRENCY = complete; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,3,7"; }; name = Release; @@ -602,7 +600,6 @@ SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,3,7"; TEST_TARGET_NAME = TestApp; }; @@ -624,7 +621,6 @@ SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,3,7"; TEST_TARGET_NAME = TestApp; }; @@ -658,7 +654,6 @@ SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; }; name = Debug; @@ -690,7 +685,6 @@ SDKROOT = watchos; SKIP_INSTALL = YES; SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; }; name = Test; @@ -722,7 +716,6 @@ SDKROOT = watchos; SKIP_INSTALL = YES; SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; }; name = Release; @@ -744,7 +737,6 @@ SDKROOT = watchos; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; TEST_TARGET_NAME = TestAppWatchApp; }; @@ -766,7 +758,6 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = watchos; SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; TEST_TARGET_NAME = TestAppWatchApp; }; @@ -788,7 +779,6 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = watchos; SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; TEST_TARGET_NAME = TestAppWatchApp; }; @@ -890,7 +880,6 @@ SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_STRICT_CONCURRENCY = complete; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,3,7"; }; name = Test; @@ -911,7 +900,6 @@ SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,3,7"; TEST_TARGET_NAME = TestApp; };