You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[tvOS] SamplesApp fails to launch when built with the tvOS 27 SDK (no UIScene adoption) #25660
When SamplesApp's tvOS head is built with the tvOS 27 SDK (Xcode 27), it dies at launch before any runtime test runs:
(UIKitCore) failure in void _UIApplicationEvaluateRuntimeIssueForNoSceneLifecycleAdoption(void)_block_invoke (UIApplication_RuntimeIssues.m:106) : Application failed to launch: UIScene life cycle is required for apps built with this SDK.
Process exited: <RBSProcessExitContext| specific, status:<RBSProcessExitStatus| domain:signal(2) code:SIGTRAP(5)>>
All four tvOS runtime test shards of #25492 (the .NET 11 rc.2 / Xcode 27 update) fail this way, with UNOBLD003: The test results file … does not exist (did the app crash ?).
The iOS head already adopts the scene lifecycle (Platforms/iOS/SceneDelegate.iOS.cs plus a UIApplicationSceneManifest in its Info.plist). The tvOS head has neither.
Expected behavior 🎯
The tvOS SamplesApp launches and runs its tests when built with the tvOS 27 SDK.
How to reproduce it (as minimally and precisely as possible) 🔬
Build src/SamplesApp/SamplesApp for net11.0-tvos with Xcode 27.
Launch it on a tvOS 27 simulator.
The app exits with SIGTRAP; xcrun simctl spawn <device> log show --predicate 'process == "SamplesApp"' shows the message above.
Activity
fix(samplesapp): Adopt the scene lifecycle on tvOS