Repository navigation
Conversation
shaaaaawn
force-pushed
the
feat/tvos-demo
branch
from
November 15, 2026 06:52
770e434 to
0207094
Compare
shaaaaawn
force-pushed
the
feat/tvos-realitykit-sdk
branch
from
November 15, 2026 06:52
d78122e to
8908e86
Compare
shaaaaawn
force-pushed
the
feat/tvos-demo
branch
from
November 15, 2026 06:52
0207094 to
160992d
Compare
shaaaaawn
force-pushed
the
feat/tvos-realitykit-sdk
branch
from
November 15, 2026 16:30
8908e86 to
4afdc22
Compare
shaaaaawn
force-pushed
the
feat/tvos-demo
branch
from
November 15, 2026 16:30
f659155 to
c5caf45
Compare
shaaaaawn
force-pushed
the
feat/tvos-realitykit-sdk
branch
from
November 15, 2026 23:03
4afdc22 to
ae6b7d9
Compare
shaaaaawn
force-pushed
the
feat/tvos-demo
branch
from
November 15, 2026 23:03
60a2c9f to
93ea9ef
Compare
shaaaaawn
force-pushed
the
feat/tvos-realitykit-sdk
branch
from
November 17, 2026 03:09
ae6b7d9 to
6b23d61
Compare
shaaaaawn
force-pushed
the
feat/tvos-demo
branch
from
November 17, 2026 03:09
93ea9ef to
6841c53
Compare
shaaaaawn
force-pushed
the
feat/tvos-realitykit-sdk
branch
from
November 17, 2026 03:48
6b23d61 to
2a846f1
Compare
shaaaaawn
force-pushed
the
feat/tvos-demo
branch
from
November 17, 2026 03:48
6841c53 to
f6b41cf
Compare
shaaaaawn
force-pushed
the
feat/tvos-realitykit-sdk
branch
from
November 17, 2026 05:07
2a846f1 to
5e10c9b
Compare
shaaaaawn
force-pushed
the
feat/tvos-demo
branch
2 times, most recently
from
November 17, 2026 05:42
65d4d78 to
f0cace0
Compare
shaaaaawn
force-pushed
the
feat/tvos-realitykit-sdk
branch
from
November 17, 2026 05:57
5e10c9b to
a3a317b
Compare
shaaaaawn
force-pushed
the
feat/tvos-demo
branch
from
November 17, 2026 05:57
f0cace0 to
28b8fe0
Compare
Add ThreeLiveDemoTV (tvOS 26+), which compiles the demo's preset scenes on device and explores them with the Siri Remote: swipe on the touch surface to orbit, click the clickpad ring or arrows to step 15 degrees, Select runs onSelect on the node under a center reticle, Play/Pause resets the camera, and Menu returns to the scene list (and, from there, leaves the app as tvOS expects). The camera reuses the iOS demo's XROrbitCameraState, and Select calls XRLiveRealityKitSession.handleTap(at:in:) at the reticle, so onSelect behaviors run as they do on iOS. Remote buttons are tap recognizers on the focused ARView, so Menu is consumed only while exploring. The iOS and tvOS apps share one XcodeGen target template, and the iOS app's behavior is unchanged. ThreeLiveDemoTVUITests drives the app with XCUIRemote: Explore, Select (miss) and Menu stay in the app; Select on Instanced Lattice hits LatticeEnergyCore; Menu on the scene list leaves the app. CI is unchanged. Swiping on a physical Siri Remote is not covered (XCUIRemote cannot swipe).
shaaaaawn
force-pushed
the
feat/tvos-realitykit-sdk
branch
from
November 17, 2026 06:04
a3a317b to
25b3414
Compare
shaaaaawn
force-pushed
the
feat/tvos-demo
branch
from
November 17, 2026 06:04
28b8fe0 to
f6f9c9f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The SwiftUI demo in
mobile/examples/ios_swiftuiis the package's only runnable host, and it is iOS-only. Building on the tvOS RealityKit layer (feat(ios): compile the RealityKit layer on tvOS 26), this PR adds an Apple TV target that compiles the demo's preset scenes on device and explores them with the Siri Remote. Apple TV has no touch input, so the camera and selection come from the remote.Controls
onSelecton the node under a center reticleDesign
TVContentView.swiftdrives the camera withXROrbitCameraState, as the iOS demo does, and Select callsXRLiveRealityKitSession.handleTap(at:in:)at the reticle, soonSelectbehaviors run as they do on iOS.ARView, so Menu is consumed only while exploring and the app never traps the user.|| os(tvOS)to their platform gates, and the app entry point showsTVContentViewon tvOS.ThreeLiveCapabilitiespolicy (scripts only): its bundled scenes need no network, storage, sensor or AI capability.Docs
The demo README gains an Apple TV section (build, controls, UI test command);
.gitignoregains the generatedInfoTV.plist.Testing
a773f55plus the tvOS RealityKit commit and this commit, Xcode 27.2, Swift 6.4.2:xcodegen generate, then the iOS and tvOS demos build with no new warnings.xcodebuild test -scheme ThreeLiveDemoTVon tvOS 26.5 and tvOS 27.0 simulators: 3/3 pass on each.ThreeLiveDemoTVUITestsdrives the app with the simulated Siri Remote (XCUIRemote):LatticeEnergyCore.Apple TV 4K simulator, tvOS 27.0:
LatticeEnergyCoreOrbit clip (4 s):
tvos-orbit.mp4
Not covered: swipe feel on a physical Siri Remote (
XCUIRemotecannot swipe). CI is unchanged; the UI tests need a tvOS simulator and run locally with the command in the demo README. The demo runs only its bundled preset scripts: no network input, accounts or persistence.