bevyengine / bevyengine/bevy

Add tvOS support

Open
#13,058 5 comments 4 reactions 0 assignees View on GitHub
A-Cross-Cutting C-Feature O-iOS S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.