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

fix visionOS compilation in Xcode 15 #468

Merged
merged 2 commits into from
Aug 28, 2024
Merged

Conversation

bcherry
Copy link
Contributor

@bcherry bcherry commented Aug 28, 2024

I found that the client SDK won't compile when using Xcode 15 (the current production version of Xcode) targeting visionOS 1:

-MTKView is compatible with visionOS 1, but only when built with Xcode 16.
-CameraFrameProvider is wholly new in visionOS 2.

I'm not sure if there's a more correct way to hide these pieces from Xcode 15 but compiler(>=6.0) seems to work for me.

@bcherry bcherry merged commit dbceba4 into main Aug 28, 2024
11 of 12 checks passed
@bcherry bcherry deleted the bcherry/vision_os_1_compile branch August 28, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants