Repository navigation
chore(example-app): migrate to Capacitor 9 alpha.8 SwiftUI/UIScene lifecycle - #106
Open
andredestro wants to merge 1 commit into
Open
andredestro wants to merge 1 commit into
andredestro wants to merge 1 commit into
Conversation
andredestro
marked this pull request as ready for review
October 21, 2026 17:28
andredestro
requested review from
ItsChaceD,
OS-pedrogustavobilro,
OS-ruimoreiramendes,
alexgerardojacinto,
jcesarmobile,
markemer and
theproducer
October 21, 2026 17:28
alexgerardojacinto
approved these changes
Oct 21, 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.
Description
Re-runs
npx cap migratewith@capacitor/cli@9.0.0-alpha.8so the example app(s) use the Capacitor 9 iOS template: a SwiftUIAppentry point with the UIScene lifecycle (App.swift,CapacitorView.swift,UIApplicationSceneManifestinInfo.plist,AppDelegateas aUIApplicationDelegateAdaptor).The example apps had been migrated with an earlier 9.0 alpha, before
cap migrateadded the SwiftUI/UIScene step, so they still booted through@main AppDelegate+Main.storyboard. The iOS 27 SDK requires the UIScene lifecycle (TN3187). Without this change, the example apps don't represent a Capacitor 9 app when we test on iOS 27 / Xcode 27.The Android changes are the ones
cap migrateapplies (edge-to-edgeMainActivity, Gradle files). They were not changed by hand.Verification
xcodebuildDebug build succeeds with Xcode 27.1 (iOS Simulator, no signing)._UIApplicationEvaluateRuntimeIssueForNoSceneLifecycleAdoption(EXC_BREAKPOINT/SIGTRAP) at scene creation. Reproduced on device with the barcode-scanner example app fromnext; adding a scene lifecycle makes it launch.