From 718938fd4fb67c469536e15e800349c3b913802e Mon Sep 17 00:00:00 2001 From: Andrew Bradnan Date: Fri, 17 May 2024 22:07:21 -0500 Subject: [PATCH 1/4] Add visionOS --- Package.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 2e0e6c7..ba6f9d8 100644 --- a/Package.swift +++ b/Package.swift @@ -10,6 +10,7 @@ let package = Package( .tvOS(.v13), .watchOS(.v6), .macCatalyst(.v13), + .visionOS(.v1), ], products: [ .library( @@ -34,7 +35,7 @@ let package = Package( .targetItem( name: "HashableMacroFoundation", condition: .when( - platforms: [.macOS, .iOS, .tvOS, .watchOS, .macCatalyst] + platforms: [.macOS, .iOS, .tvOS, .watchOS, .macCatalyst, .visionOS] ) ), "HashableMacroMacros", From 25f160386e3b99a5963cd20e99495a16986a88d3 Mon Sep 17 00:00:00 2001 From: Joseph Duffy Date: Fri, 24 May 2024 18:51:11 +0100 Subject: [PATCH 2/4] Run tests on visionOS --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 188d70f..f5b4cde 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -60,7 +60,7 @@ jobs: fail-fast: false matrix: xcode: ["15.0.1", "15.1"] - platform: ["macOS", "iOS", "tvOS", "watchOS", "macCatalyst"] + platform: ["macOS", "iOS", "tvOS", "watchOS", "macCatalyst", "visionOS"] steps: - uses: actions/checkout@v4 From 3fd70a74cdacb7dad027507e3125bd0c603b6ed6 Mon Sep 17 00:00:00 2001 From: Joseph Duffy Date: Fri, 24 May 2024 18:56:07 +0100 Subject: [PATCH 3/4] Use xcutils version with support for visionOS --- Mintfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mintfile b/Mintfile index 73aea09..18627cf 100644 --- a/Mintfile +++ b/Mintfile @@ -1,2 +1,2 @@ -josephduffy/xcutils@v0.2.3 +josephduffy/xcutils@v0.3.0 tuist/xcbeautify@1.0.1 From f9668f0b54d643b1423e811c7eb6da6dfa1d49d3 Mon Sep 17 00:00:00 2001 From: Joseph Duffy Date: Mon, 27 May 2024 18:34:46 +0100 Subject: [PATCH 4/4] Do not run tests on visionOS with Xcode 15.1 --- .github/workflows/tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 492c92a..bf9553a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,6 +61,10 @@ jobs: matrix: xcode: ["15.1", "15.3"] platform: ["macOS", "iOS", "tvOS", "watchOS", "macCatalyst", "visionOS"] + exclude: + # There are no visionOS simulators available on GitHub Actions using Xcode 15.1 + - xcode: "15.1" + platform: "visionOS" steps: - uses: actions/checkout@v4