Repository navigation
Add visionOS support - #682
Merged
Merged
Conversation
jschwe
reviewed
Oct 7, 2026
jschwe
reviewed
Oct 7, 2026
Collaborator
|
Looks like updating the actions helped fix the install cmake error in CI. Now I see the following error with the XCode generator:
Looks like there is still an issue with the hostbuild targetting visionOS, when it should be targetting the host. Interesting that ninja seems to be not affected... |
Co-authored-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>
Contributor
Author
I'm getting the same error locally, with latest cmake and Xcode. |
When building with the Xcode generator, Xcode exports `XROS_DEPLOYMENT_TARGET` into the environment of the cargo invocation. Older cc-rs versions pass an unversioned `--target=arm64-apple-darwin` to clang when compiling for macOS, so clang picks up the deployment target from the environment and compiles for visionOS instead, which then fails to link into the host binary.
jschwe
marked this pull request as ready for review
October 10, 2026 07:05
jschwe
approved these changes
Oct 10, 2026
jschwe
left a comment
Collaborator
There was a problem hiding this comment.
Pushed a commit to fix the hostbuild failure. Thanks for the PR!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mostly copy-pasted iOS code. Only tested as part of custom AccessKit build for Godot.