Skip to content

Commit

Permalink
ci: install vision pro simulator (#241)
Browse files Browse the repository at this point in the history
* ci: install vision pro simulator

* ci: download runtime before installing simulator
  • Loading branch information
ioannisj authored Nov 8, 2024
1 parent 1e448b9 commit 7dfc461
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

release:
name: Release
runs-on: macos-13
runs-on: macos-14
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} # Using Manoel's token for now

Expand Down
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ bootstrap:
brew install swiftformat
brew install peripheryapp/periphery/periphery

# download SDKs and runtimes
# install any simulator(s) missing from runner image
# release pod
releaseCocoaPods:
set -o pipefail && xcrun xcodebuild -downloadAllPlatforms
# I think we can do without these next 2 steps but let's leave it for now
set -o pipefail && xcrun xcodebuild -downloadAllPlatforms
# download VisionOS 1.0 Simulator runtime
xcodebuild -downloadPlatform VisionOS -buildVersion 1.0
# install Apple Vision Pro
xcrun simctl create "Apple Vision Pro" "Apple Vision Pro" "xros1.0"
pod trunk push PostHog.podspec --allow-warnings

0 comments on commit 7dfc461

Please sign in to comment.