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 tvOS support #13058

Open
darkwater opened this issue Apr 22, 2024 · 1 comment
Open

Add tvOS support #13058

darkwater opened this issue Apr 22, 2024 · 1 comment
Labels
C-Enhancement A new feature S-Blocked This cannot move forward until something else changes

Comments

@darkwater
Copy link

What problem does this solve or what need does it fill?

It's not currently possible to build Bevy for Apple's tvOS.

What solution would you like?

Add support for tvOS.

Because tvOS is very similar to iOS, most of the work will be changing cfg(target_os = "ios") into cfg(any(target_os = "ios", target_os = "tvos")), and most of it will be in wgpu and other dependencies.

What alternative(s) have you considered?

Don't support tvOS at all. It probably shouldn't be a priority target, but if the effort required is minimal, I think it would be worth it.

Additional context

I spent a night trying to get it to work, which was mostly patching dependencies to change cfg attributes, as well as configuring the Xcode project to build for tvOS instead of iOS. I got it to successfully build and install on my Apple TV 4K, but it would crash immediately upon launch. This was a late night about a week ago so I don't remember many details, but I intend to try again and document my findings here.

@darkwater darkwater added C-Enhancement A new feature S-Needs-Triage This issue needs to be labelled labels Apr 22, 2024
@james7132 james7132 added S-Blocked This cannot move forward until something else changes and removed S-Needs-Triage This issue needs to be labelled labels May 12, 2024
@james7132
Copy link
Member

Marking this as blocked on gfx-rs/wgpu#5578.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Enhancement A new feature S-Blocked This cannot move forward until something else changes
Projects
None yet
Development

No branches or pull requests

2 participants