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: unrecognized platform name visionOS #631

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

thiagobrez
Copy link
Contributor

Fixes #624

Remove @available(visionOS 1, *), which is only available on Xcode 15 and above. Use obj-c preprocessor directives instead.

This was following the same approach as iOS in the lines below @available(iOS 11, *). iOS needs this because FaceID is only available on iOS 11 and above. VisionOS does not need it because visionOS 1 already has OpticID since launch.

Tested on Xcode 14.3.1 and 15.2.

@androideveloper androideveloper merged commit 4d88b62 into oblador:master Mar 25, 2024
3 checks passed
@androideveloper
Copy link
Collaborator

fyi @oblador new release is needed for this 🙏

@jspizziri
Copy link

@oblador is there anyone who can release this project other than you?

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.

Unrecognized platform name visionOS error
3 participants