Skip to content

Conversation

@benroeder
Copy link

Summary

  • Add tvOS as a supported target alongside iOS (tvOS uses the same AudioToolbox/RemoteIO APIs, available since tvOS 9.0)
  • Add tvOS build job to CI workflow
  • Add tvOS example with sine wave generator

Notes

tvOS targets (aarch64-apple-tvos, aarch64-apple-tvos-sim) are Tier 3 in Rust, requiring nightly toolchain and -Zbuild-std flag since there is no prebuilt standard library.

Changes

  • Add tvOS to cfg conditions for RemoteIO, audio_session_get_property, and buffer frame size calculation
  • Add tvOS build job to CI workflow using nightly + -Zbuild-std
  • Add tvOS example with sine wave generator (tvOS doesn't support microphone input, so uses output-only demo)
  • Update .gitignore for Xcode build artifacts

tvOS uses the same AudioToolbox/RemoteIO APIs as iOS, available since
tvOS 9.0. This adds tvOS as a supported target alongside iOS.

Note: tvOS targets (aarch64-apple-tvos, aarch64-apple-tvos-sim) are
Tier 3 in Rust, requiring nightly toolchain and -Zbuild-std flag
since there is no prebuilt standard library.

Changes:
- Add tvOS to cfg conditions for RemoteIO, audio_session_get_property,
  and buffer frame size calculation
- Add tvOS build job to CI workflow using nightly + -Zbuild-std
- Add tvOS example with sine wave generator (tvOS doesn't support
  microphone input, so uses output-only demo)
- Update .gitignore for Xcode build artifacts
@simlay simlay self-requested a review December 12, 2025 21:21
Copy link
Member

@simlay simlay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! Looks like the meat of this is a few lines of rust.

Let's move the iOS example directory to "apple" and add tvOS as a possible target in the Xcode project and add that to CI similar to the existing example.

I'll submit a PR to your fork and branch sometime this weekend if you don't get to it before me.

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

Successfully merging this pull request may close these issues.

2 participants