Skip to content

Conversation

@sajidalidev
Copy link

Add tvOS Support to Compose Gradle Plugin

Changes

Add tvOS target detection (tvos_x64, tvos_arm64, tvos_simulator_arm64)
Update isIosOrMacTarget() to include tvOS targets
Add tvOS platform handling in XCode target detection (appletvos, appletvsimulator)
Update error messages to reference "Apple platforms" instead of just "iOS"

Enables Apple TV development with Compose Multiplatform using the same resource management workflow as iOS.

Testing

Tested on physical Apple TV (tvOS 26.1)
Verified resource sync during Xcode builds
Confirmed iOS, Android, and Desktop builds remain unaffected
Framework generation works for all tvOS targets (arm64, x64, simulator arm64)

Release Notes

Features - Gradle Plugin

Add support for tvOS platform in Compose Multiplatform Gradle plugin, enabling Apple TV development with the same resource management capabilities as iOS

- Add tvOS target detection (tvos_x64, tvos_arm64, tvos_simulator_arm64)
- Update isIosOrMacTarget() to include tvOS targets
- Add tvOS platform handling in XCode target detection (appletvos, appletvsimulator)
- Update error messages to reference "Apple platforms" instead of just "iOS"
@sajidalidev
Copy link
Author

I understand tvOS may not be a priority for the team right now, but these are minimal changes (2 files) that don't affect existing functionality.
Having this merged would significantly simplify the developer experience - users wouldn't need to switch to a custom plugin just to add tvOS support. It would help the community experiment with tvOS while you evaluate official support.
Happy to address any feedback!

@suritkandel
Copy link

suritkandel commented Jan 20, 2026

@sajidalidev

This would be a great step forward in supporting tvOS in the near future.

@MatkovIvan MatkovIvan requested a review from kropp January 27, 2026 14:11
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