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 compilation for visionOS #44

Merged
merged 2 commits into from
Dec 3, 2023
Merged

Fix compilation for visionOS #44

merged 2 commits into from
Dec 3, 2023

Conversation

vmanot
Copy link
Contributor

@vmanot vmanot commented Dec 2, 2023

This PR fixes #45 by updating the compiler control statements to add the missing os(visionOS) platform condition check.

The project now builds for visionOS, but with warnings as it is built against the latest version of SwiftUI which deprecates View.onChange(of:perform:) in favor of View.onChange(of:initial:_:).

I can tackle the warnings in another PR, I'd still love to get this in if possible because compilation on visionOS is broken at the moment.

@noahsmartin noahsmartin merged commit bf6f133 into EmergeTools:main Dec 3, 2023
@mergesort
Copy link
Collaborator

Thank you so much @vmanot!

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.

visionOS Support
3 participants