Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở Phù hợp với người mới
#194,284 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
86/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
dart, ios
Lĩnh vực
mobile

Hướng nghiên cứu

Bắt đầu với example/ios/Runner/Info.plist trong ba gói được nêu và so sánh cấu hình scene của chúng với các ví dụ iOS được liệt kê trong issue đã khởi chạy trên iOS 27. Thêm UIApplicationSceneManifest cần thiết vào từng ví dụ bị ảnh hưởng, sau đó chạy lại bước native test của ios_platform_tests trên trình mô phỏng iOS 27. Hoàn tất khi cả ba ứng dụng ví dụ đều khởi chạy và các bài kiểm thử native của chúng đều đạt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

P2 package platform-ios team-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

Ngôn ngữ chính
Dart
Star
180k
Fork
34.1k
Merge trung bình
2 ngày 20 giờ
Pull request đã merge (30 ngày)
420

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của flutter/flutter

Tất cả issue của flutter/flutter

Issue tương tự

Thêm issue về Dart

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.