-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
visionOS SDK not installed on macOS 13 runner when using Xcode 15 #8144
Comments
Hello @calda, we will take a look. |
we install SDKs as also, XCode 15 Beta 7 was released. Hopefully, we'll release visionOS SDK together with Beta 7 |
@calda ,can you help me to check ? I created test image with visionOS SDK.
output
did I miss some build step ? |
nevermind, I built using |
Yeah, that one works. Other options include:
|
Hi all, given that the 1 we will continue tracking Xcode changes to make vision OS a part of the image (hopefully before macOS 13 goes GA) |
I see the Xcode 15.0 release candidate has been published. Unlike the betas, the RC doesn't include the visionOS SDK. Perhaps this is why the behavior of In the meantime, we've started using the To enable folks to continue using the visionOS SDK in GitHub actions jobs, could the team leave an Xcode 15 beta available on the macOS 13 image, in addition to the Xcode 15 RC / production version? That would be very helpful for us. |
some news from our side, we've found better way of installing visionOS, currently we are going to release updated image with visionOS added. thanks for bringing that to attention, Apple indeed says
|
@calda, as for software policy we install only three latest avaiable versions. sorry, no "rc" is possible together with "beta 8" |
As of #8282 it is no longer possible to build for the visionOS SDK using the above workaround |
Any updates here? Maybe we can have |
@vfilyakov , do you know what is the official Apple support for visionOS ? will it eventually be added to XCode 15 ? |
I would ask @mikhailkoliada if that is possible or not |
We are going to provide Xcode versions according to our software policy, eventually visioonOS will be included in the release too by apple |
Looks like Xcode 15.1 Beta has support for visionOS: Considering that Apple plans to release Vision Pro in Q1 2024, we should have the release version of visionOS 1.0 in some release version of Xcode 15.x before that (hopefully). But for now we will have to deal with betas, looks like.
@mikhailkoliada What is the official policy here in regard to Xcode betas? Would be beneficial to hear the plan for this... |
btw, I installed XCode 15.1, visionOS was installed together with XCode. |
We can't predict with certainty what Apple will release in the future, but my expectation currently (based on the Xcode 15.0 release) is that:
Adding the Xcode 15.1 beta to GitHub actions would allow us to use the visionOS SDK again, up until when that beta is removed from the macOS runner. |
@mikhailkoliada Now that you guys decided not to deal with Xcode 15.1 betas, what is a path forward to be able to build visionOS code? Can we have Xcode 15.0 beta instead to cover this for now? |
Due to Xcode 15.x performance degradation there is no plans to add any new betas to the image until at least 15.2 beta is out, we are aware of the fact that visionOS sdk is missing right now but try not to make the situation worse for customers. Generally I am going to close the issue as there is nothing actable for us to do, but we will keep the images updated as soon as we can. |
For those who stumble upon this in the future: defaults write com.apple.dt.Xcode AllowUnsupportedVisionOSHost -bool YES
defaults write com.apple.CoreSimulator AllowUnsupportedVisionOSHost -bool YES
xcodebuild -downloadPlatform visionOS Shove this in your script before you do anything and it'll work, at least it did when I tested against Xcode 15.2. |
Wow, thank you @saagarjha! This works for us: airbnb/lottie-ios#2287 Although there's a typo in your comment --
|
Oops, yes. Not sure how I messed that up… |
This saves for me. But oneday I'll consider to move to paid |
Description
When using the macOS 13 runner with Xcode 15, the visionOS SDK is not installed.
When attempting to run a command like
xcodebuild build -scheme MyScheme -destination generic/platform=visionOS
, it fails with the following error (example failure):This is because the visionOS SDK is not included by default in Xcode 15, and has to be downloaded separately (like the iOS and tvOS SDKs).
Platforms affected
Runner images affected
Image version and build link
Image: macos-13
Version: 20230821.3
Included Software: https://github.com/actions/runner-images/blob/macos-13/20230821.3/images/macos/macos-13-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-13%2F20230821.3
Is it regression?
No
Expected behavior
I expect the visionOS SDK to be installed by default on the macOS 13 runner when using Xcode 15, like other Apple platform SDKs (iOS, tvOS, watchOS).
Actual behavior
I expect the visionOS SDK to be installed by default on the macOS 13 runner when using Xcode 15, like the other Apple platform SDKs.
Repro steps
Attempt to build an Xcode project for the visionOS destination (
-destination generic/platform=visionOS
), for example:xcodebuild build -scheme "Lottie (visionOS)" -destination generic/platform=visionOS -workspace Lottie.xcworkspace
https://github.com/airbnb/lottie-ios/actions/runs/5956146043/job/16156293405?pr=2152
The text was updated successfully, but these errors were encountered: