Skip to content

Commit

Permalink
Only use macos 15 and xcode 16 for testing visionOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Itaybre committed Sep 30, 2024
1 parent 207005e commit 21b9951
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-xcframework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: macos-15
runs-on: macos-14

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
release:
runs-on: macos-15
runs-on: macos-14

steps:
- name: Checkout code
Expand Down
4 changes: 1 addition & 3 deletions PreviewsSupport/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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' {} +
-output ./PreviewsSupport.xcframework

0 comments on commit 21b9951

Please sign in to comment.