visionOS SDKs missing
Description
The visionOS SDKs seem to have gone missing from the macos14 GitHub action runners. A couple days ago it worked, today I get this error: { platform:visionOS, id:dvtdevice-DVTiOSDevicePlaceholder-xros:placeholder, name:Any visionOS Device, error:visionOS 1.2 is not installed. To use with Xcode, first download and install the platform }
This is with Xcode 15.4, I've also tried updated to 16.0 but get the error that visionOS 2.0 is not installed. You can see that issue here: https://github.com/EmergeTools/SnapshotPreviews-iOS/actions/runs/11056651930/job/30718675120?pr=202
Is there any way to build for visionOS is a GitHub action runner?
Platforms affected
- [x] Azure DevOps
- [x] GitHub Actions - Standard Runners
- [x] GitHub Actions - Larger Runners
Runner images affected
- [ ] Ubuntu 20.04
- [ ] Ubuntu 22.04
- [ ] Ubuntu 24.04
- [ ] macOS 12
- [ ] macOS 13
- [ ] macOS 13 Arm64
- [X] macOS 14
- [x] macOS 14 Arm64
- [ ] macOS 15
- [ ] macOS 15 Arm64
- [ ] Windows Server 2019
- [ ] Windows Server 2022
Image version and build link
https://github.com/EmergeTools/SnapshotPreviews-iOS/actions/runs/11056651930/job/30718675120?pr=202
Is it regression?
yes https://github.com/EmergeTools/SnapshotPreviews-iOS/actions/runs/10948139766
Expected behavior
It should be installed
Actual behavior
It is not installed
Repro steps
Attempt to build for visionOS SDK
i also have this issue, this is terrible
Hey there!
It's kinda expected behaviour. See details here:
- https://github.com/actions/runner-images/issues/10559
We'll keep this issue on board for better informing for some time.
TL;DR:
- macOS-14 images do not ship
visionOSplatform
Possible workarounds:
- to use
macos-15image - to install visionOS in runtime with:
sudo xcodebuild -runFirstLaunch
sudo xcrun simctl list
sudo xcodebuild -downloadPlatform visionOS
sudo xcodebuild -runFirstLaunch
macos 15 works thanks
👋
For those tracking these changes or encountering issues for the first time, here’s some context and clarification.
As you may know, we recently faced significant challenges where many users began running out of disk space during tests and builds on macOS-based runners. 😞 This issue was triggered by the inclusion of visionOS simulators in the latest Xcode builds. The root cause, however, lies in our policy of providing nearly all supported minor versions of Xcode on each macOS image, leading to steadily increasing disk usage as Apple’s ecosystem grows.
Here’s how we’ve approached resolving the issue so far:
- Immediate action: We temporarily stopped pre-installing
visionOSplatform tools inXcodeonmacOS-14images. - Strategic adjustment: We introduced a policy to limit the number of major
Xcodeversions installed permacOSimage, alongside reinstatingvisionOStools for supportedXcodeversions. This aimed to free up significant disk space. https://github.com/actions/runner-images/pull/10876
However, we’ve discovered that some projects rely on multiple major versions of Xcode simultaneously, making these strict measures overly restrictive. This prompted us to refine our strategy, prioritising functionality alongside disk space optimisation.
Current Strategy 📏
Our updated approach balances reducing installed Xcode versions with maintaining runner usability:
macOS-14images:
- Will include all minor releases of
Xcode 15with the full platform tools suite (as before). - Will now also include two minor releases of
Xcode 16(excludingvisionOStools). These will follow a “last two” principle, with the oldest replaced by the newest as updates are released.Betaversions will not be included. https://github.com/actions/runner-images/pull/10962
macOS-15images:
- Will include all minor releases of
Xcode 16with the full platform tools suite (as before). - Will also include the latest available release of
Xcode 15with the full platform tools suite. https://github.com/actions/runner-images/pull/11023
- Disk Space and Future Adjustments:
- Currently,
macOS-14images have approximately60 GBof free space. However, this is not a guaranteed figure and may decrease over time. - When free space approaches
30 GB, we will reassess our policies and toolsets to ensure compliance with our promised minimum of14 GBof free space. macOS-15images are not currently impacted by this issue. However, with futureXcodeupdates, policies may need to be revisited. 🤷♂️
Recommendations 🦮
- If your workflows depend on
visionOS, we recommend switching tomacOS-15images. - If your tasks require significant disk space, consider preparing the runner by removing unnecessary large components before starting your workflows.