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

visionOS Support #2635

Open
PushedCrayon opened this issue Jan 30, 2024 · 6 comments
Open

visionOS Support #2635

PushedCrayon opened this issue Jan 30, 2024 · 6 comments

Comments

@PushedCrayon
Copy link

Expected behavior

Be able to use this package inside a VisionOS application for the Apple Vision Pro

Actual behavior

Currently appears to fail to compile to the VisionOS simulator

Steps to reproduce

  1. Open the package and try and run to a VisionOS Simulator

If possible, minimal yet complete reproducer code (or URL to code)

NA

SwiftNIO version/commit hash

Latest

System & version information

Running Xcode 15.2 on Sonoma 14.1.2

@Lukasa
Copy link
Contributor

Lukasa commented Jan 30, 2024

Yup, good catch: looks like we need to add some #if visionOS().

@Lukasa
Copy link
Contributor

Lukasa commented Jan 30, 2024

Oh actually before even that swift-system needs to.

@Lukasa
Copy link
Contributor

Lukasa commented Jan 30, 2024

Let's get apple/swift-system#150 fixed first.

@PushedCrayon
Copy link
Author

I actually forked that one just a bit ago and sprinkled in a lot of || os(visionOS) and it worked just fine. This might be a quick easy win

@PushedCrayon
Copy link
Author

Looks like apple/swift-system#150 has not been updated for a few years, might have to be something forked and done outside of "official" support

@Lukasa
Copy link
Contributor

Lukasa commented Jan 30, 2024

I mean I only filed that ticket two hours ago.

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