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

Add support for xrOS #433

Open
marchein opened this issue Jun 22, 2023 · 1 comment
Open

Add support for xrOS #433

marchein opened this issue Jun 22, 2023 · 1 comment

Comments

@marchein
Copy link

Using Xcode 15 Beta 2 and compiling against xrOS beta 1 Xcode build fails in Device.swift in the functions:

  • internal static func screenSizeForCurrentDevice() -> CGSize
  • internal static func nativeScreenSizeForCurrentDevice() -> CGSize

It throws the following error: 'UIScreen' is unavailable in xrOS

@brototyp brototyp changed the title screenSizeForCurrentDevice and nativeScreenSizeForCurrentDevice not working with bros Add support for xrOS Jul 1, 2023
@brototyp
Copy link
Member

brototyp commented Jul 1, 2023

Hey @marchein, thanks for the report. As for now, there is no xrOS support. This should be fairly simple to fix but it is not on the top of the backlog for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants