Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Xcode 27] google_maps_flutter_ios_sdk9/sdk10 and webview_flutter_wkwebview example apps fail to launch on iOS 27 (UIScene life cycle required)

未关闭 适合新手
#194,284 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@LouiseHsu 已经在做这个了。

开始于 2026年10月14日。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
86/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
dart, ios
领域
mobile

调研方向

从三个指定包中的 example/ios/Runner/Info.plist 开始,将它们的场景配置与 issue 中列出的、已能在 iOS 27 上启动的 iOS 示例进行比较。为每个受影响的示例添加所需的 UIApplicationSceneManifest,然后在 iOS 27 模拟器上重新运行 ios_platform_tests 的 native test 步骤。三个示例应用都能启动且其原生测试均通过,即为完成。

由索引模型根据 Issue 内容生成。

描述

P1 package platform-ios team-ios triaged-ios

Three flutter/packages iOS example apps crash at launch when their native tests run on the iOS 27 simulator with Xcode 27, so the native test step of ios_platform_tests fails for them:

(Both are staging.shadow led replays with sdk_version: 27a266a; the earlier Xcode 27 runs behind #194019 never reached this step because xcode analyze deprecation failed first.)

Application failed to launch: UIScene life cycle is required for apps built with this SDK. See "Transitioning to the UIKit scene-based life cycle" in the UIKit documentation for more information on migration.
The test runner crashed before establishing connection: Runner

For the two google_maps examples all four GoogleMapsUITests fail with dev.flutter.plugins.googleMobileMapsExample crashed, then the unit-test host hits the same error. For webview_flutter_wkwebview the UI tests pass but the unit-test Runner host fails to launch.

Cause: these are the only iOS example apps in the repo whose example/ios/Runner/Info.plist has no UIApplicationSceneManifest. iOS 27 requires the scene-based life cycle for apps built against its SDK (same root cause as #187870 on the framework side). The other iOS examples (google_maps_flutter_ios, google_sign_in_ios, in_app_purchase_storekit, camera_avfoundation, image_picker_ios, url_launcher_ios, video_player_avfoundation, …) already have the manifest and launch fine on iOS 27.

Related: #194019, #187870

主要语言
Dart
星标
180k
派生
34.1k
平均合并
2 天 19 小时
30 天内合并 PR
422

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

flutter/flutter 的其他 Issue

查看 flutter/flutter 的全部 Issue

相似的 Issue

更多 Dart Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。