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 compile error on visionOS Beta 4 SDK #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Naituw
Copy link

@Naituw Naituw commented Nov 14, 2023

The latest visionOS Beta have some API change, cause this project to build (link) fail with errors:

ld: Undefined symbols:
  _cp_layer_configuration_get_layout_private, referenced from:
      __interpose_cp_layer_configuration_get_layout_private in visionos_stereo_screenshots-60b7c2.o
  _cp_layer_properties_get_view_count, referenced from:
      __interpose_cp_layer_properties_get_view_count in visionos_stereo_screenshots-60b7c2.o

This commit modified the source to use new apis

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.

1 participant