iOS apps built with the Xcode 27 SDK fail to launch: bootstrap app delegate has no UIScene
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
- #214 của @avijit213 — đã đóng, không merge
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- ios, objective-c, typescript
- Lĩnh vực
- mobile-dev
Hướng nghiên cứu
Start with SCValdiBootstrappingAppDelegate, which creates its window in application:didFinishLaunchingWithOptions:, and with the generated Info.plist template at bzl/valdi/app_templates/Info.plist.tpl, which lacks a UIApplicationSceneManifest. Reproduce by bootstrapping a ui_application and building apps/helloworld for iOS on an Xcode 27 simulator. Done when the app launches under the scene life cycle; PR #214 already attempts this, so review it rather than starting fresh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Valdi iOS apps built with the Xcode 27 / iOS 27 SDK are killed at launch, before any Valdi code runs. UIKit now requires the UIScene life cycle. SCValdiBootstrappingAppDelegate creates its window in application:didFinishLaunchingWithOptions:, and the generated Info.plist (bzl/valdi/app_templates/Info.plist.tpl) declares no UIApplicationSceneManifest.
Steps to reproduce
valdi bootstrap -t ui_application(defaultbeta-0.2.1, also reproduces onmainat bc20bfc)- Build the iOS app with Xcode 27.2 and install it on an iOS 27.2 simulator (
valdi install ios, orbazel build //apps/helloworld:hello_world_iosin this repo) - The app icon appears, but the app exits right away
Expected behavior
The app launches and shows the root component.
Actual behavior
The process exits during launch. Device log:
(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. See "Transitioning to the UIKit scene-based life cycle" in the UIKit documentation for
more information on migration.
Valdi version
beta-0.2.1, and main @ bc20bfc
Affected target platforms
iOS
Development machine
macOS 27, Apple Silicon, Xcode 27.2 (27B52)
Device and OS version
iPhone 17 simulator, iOS 27.2 (24B8117)
Additional context
Workaround: a host main.m with an app delegate plus a UIWindowSceneDelegate that builds the same SCValdiDefaultContainerViewController / UINavigationController inside the connecting UIWindowScene, and an Info.plist with a scene manifest. With that, the same module renders normally. A PR follows that does this inside SCValdiBootstrappingAppDelegate, gated on the app's Info.plist so apps without a scene manifest keep today's behavior.
- Ngôn ngữ chính
- C++
- Star
- 16.4k
- Fork
- 538
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Snapchat/Valdi
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 55/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Add first tests for valdi_rxjsĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Snapchat/Valdi
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
uxlfoundation/oneDNN#6604 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug]: RoundToNearest truncates in plugins compiled with spcomp 1.13Có thể đã có người làm @fmu1337 đã nhận hôm nay. Đang mởBug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
alliedmodders/sourcemod#2627 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
lballabio/QuantLib#3134 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
new issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
llvm/llvm-project#245835 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
EchoTools/nevr-runtime#2823 ·
Maintainer thường phản hồi trong vòng 1 ngày