feat(core): add tvOS platform and webpack resolution - #11420
Conversation
ef4169f to
523ecfe
Compare
523ecfe to
df7776b
Compare
|
I can add vite support here as well 💯 |
…works The shipped xcframeworks are committed, so the appletvos and appletvsimulator slices that ui-mobile-base/ios/build.sh and winter-tc/ios/build.sh now produce have to be checked in for the npm package to link on tvOS. The existing iOS, Mac Catalyst and visionOS slices are untouched; only the two tvOS slices and their Info.plist entries are added (built from this branch's projects with Xcode 26.5).
|
Pushed one commit on top of df7776b (maintainer edit): the Verified with the tvOS runtime from NativeScript/ios |
Add tvOS platform flags, supported UI guards, cache paths and native availability annotations. Export isTvOS at the package root and make webpack honor the configured tvOS projectName. Normalize snapshot paths so the suite runs outside the original author checkout.
Validation
Core: 487 passed, one skipped. Webpack: 79 tests and 22 snapshots passed. Fresh TNSWidgets and NSCWinterTC tvOS frameworks built. The final simulator app verifies root platform exports, writable cache storage and correct bundle placement with projectName=TVOSReview.
Reproduce
Revision-pinned reviewer setup builds the companion stack in an isolated workspace. It includes commands, requirements, dependency pins and physical-device limitations. No binary artifacts or private development paths are committed.
This PR contains one commit,
df7776ba8a9a32900b4d1ac7c8718b3eaa3782d7, changing 28 files against9a7ae4ec5c8de4d79d0b21cb0e80f870afbd05f4. Its exported patch reproduces the committed tree from a fresh base index.The source-built runtime was validated in the prepared runtime checkout; companion clones, native helpers, Canvas and clean npm installation were validated in a separate workspace on the same Mac. A second machine and one uninterrupted cold
allrun have not been tested.