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
Commit 7581a51
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/TROUBLESHOOTING.md
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,44 @@ error: "The selected platform is no longer supported by libc++." [-Werror,-W#war
18
18
Update your project to a Valdi version with Xcode 27 support. On macOS 26 you can instead build with Xcode 26.5 and make sure Bazel uses it (see the next entry); macOS 27 can't run Xcode 26.5.
19
19
</details>
20
20
21
+
<detailsid="ios-27-uiscene">
22
+
<summary>iOS app exits at launch: <code>UIScene life cycle is required for apps built with this SDK</code></summary>
23
+
24
+
Apps built with the iOS 27 SDK must adopt the UIScene life cycle, or UIKit refuses to launch them. The full log line looks like:
25
+
26
+
```
27
+
Application failed to launch: UIScene life cycle is required for apps built with this SDK.
28
+
```
29
+
30
+
The default `valdi_application` setup handles this: the generated `Info.plist` declares a scene manifest whose delegate is `SCValdiBootstrappingSceneDelegate`. You need to act only if your app does one of these:
31
+
32
+
-**It passes its own `ios_info_plist`.** Add the scene manifest to that plist. The scene delegate builds the root view through your `SCValdiBootstrappingAppDelegate` subclass:
-**Its app delegate isn't an `SCValdiBootstrappingAppDelegate`.**`SCValdiBootstrappingSceneDelegate` raises at launch because there's no bootstrapping delegate to build the root view. Use your own `UIWindowSceneDelegate` in its place: create the window in `scene:willConnectToSession:options:` with `initWithWindowScene:`, and name your class in the manifest's `UISceneDelegateClassName`.
55
+
56
+
Without a scene manifest, the app delegate keeps creating its window in `application:didFinishLaunchingWithOptions:` as before, which still works with SDKs before iOS 27.
57
+
</details>
58
+
21
59
<aid="bazel-uses-the-wrong-xcode-version"></a>
22
60
<details>
23
61
<summary>Bazel uses the wrong Xcode version</summary>
0 commit comments