Declare the Flutter scene delegate so the app launches on the iOS 27 SDK - #405
Merged
Merged
Conversation
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
nbrownus
approved these changes
Sep 22, 2026
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.
Built with Xcode 27.0 (27A266a), the Runner app dies on launch with SIGTRAP before drawing anything:
Builds from the iOS 26 SDK are unaffected, so today's App Store build is fine. The crash arrives with whichever release is first built on Xcode 27.
Cause
ios/Runner/Info.plistdeclares aUIApplicationSceneManifest, but itsUISceneConfigurationsis an empty dict, so no scene delegate is ever named.AppDelegatealready adoptsFlutterImplicitEngineDelegate, so the AppDelegate half of the Flutter UIScene migration is done and only the plist half is missing. The iOS 26 SDK tolerated the empty configuration, the iOS 27 SDK treats it as not adopting the scene life cycle.Fix
Name Flutter's scene delegate for the application role:
Verified on an iPhone 13 Pro: a Profile build from Xcode 27.0 (27A266a) crashed at launch without this change and launches with it.
Xcode 27 also rejects the 14.0 deployment target. Raising it is a support decision, so it's in a separate PR stacked on this one.
🤖 Generated with Claude Code
https://claude.ai/code/session_01MurGUoeWWCURHtoWFB7R56