Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: install vision pro simulator #241

Merged
merged 2 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading