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

Doesn't compile with destination Apple Vision Pro #4

Closed
GerdC opened this issue Jan 31, 2024 · 4 comments
Closed

Doesn't compile with destination Apple Vision Pro #4

GerdC opened this issue Jan 31, 2024 · 4 comments

Comments

@GerdC
Copy link
Contributor

GerdC commented Jan 31, 2024

The package doesn't compile with destination Apple Vision Pro
(Apple Vision Pro(Designed for iPad) is no problem.

Coordinate.swift:

#if os(OSX) || os(iOS)
    import Darwin
#elseif os(Linux)
    import Glibc
#endif

Maybe this is enough:

#if os(OSX) || os(iOS) || os(visionOS)
    import Darwin
#elseif os(Linux)
    import Glibc
#endif
@florianreinhart
Copy link
Owner

Thanks, @GerdC!

Could you create a PR for this?

@GerdC
Copy link
Contributor Author

GerdC commented Jan 31, 2024

Never did that, but I'll try

@GerdC
Copy link
Contributor Author

GerdC commented Jan 31, 2024

Added a fix in PR #5

@florianreinhart
Copy link
Owner

Perfect! Published as 0.2.1.

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

No branches or pull requests

2 participants