From 21b995116bcbdd8ba97b93b07382d35447559cef Mon Sep 17 00:00:00 2001 From: Itay Date: Mon, 30 Sep 2024 18:48:54 -0300 Subject: [PATCH] Only use macos 15 and xcode 16 for testing visionOS --- .github/workflows/build-xcframework.yml | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/release.yaml | 2 +- PreviewsSupport/build.sh | 4 +--- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-xcframework.yml b/.github/workflows/build-xcframework.yml index 2a57e3c1..fef508f0 100644 --- a/.github/workflows/build-xcframework.yml +++ b/.github/workflows/build-xcframework.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: macos-15 + runs-on: macos-14 steps: - name: Checkout code diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 72b754e1..c0871856 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,7 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - name: Xcode select - run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' + run: sudo xcode-select -s '/Applications/Xcode_16.0.app/Contents/Developer' - name: Build TestApp run: cd Examples && xcodebuild build -scheme DemoApp -sdk xrsimulator -destination 'generic/platform=visionOS Simulator' -project DemoApp/DemoApp.xcodeproj - name: Build Snapshotting diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3ffcdec7..04567fe1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,7 +7,7 @@ on: jobs: release: - runs-on: macos-15 + runs-on: macos-14 steps: - name: Checkout code diff --git a/PreviewsSupport/build.sh b/PreviewsSupport/build.sh index 8fedbf1a..2c4f406a 100755 --- a/PreviewsSupport/build.sh +++ b/PreviewsSupport/build.sh @@ -111,6 +111,4 @@ xcodebuild -create-xcframework \ -framework ./PreviewsSupport-visionossimulator.xcarchive/Products/Library/Frameworks/PreviewsSupport.framework \ -framework ./PreviewsSupport-macosx.xcarchive/Products/Library/Frameworks/PreviewsSupport.framework \ -framework ./PreviewsSupport-catalyst.xcarchive/Products/Library/Frameworks/PreviewsSupport.framework \ - -output ./PreviewsSupport.xcframework - -find . -type f -name '*.swiftinterface' -exec sed -i '' 's/SwiftUICore.View/SwiftUI.View/g' {} + \ No newline at end of file + -output ./PreviewsSupport.xcframework \ No newline at end of file