capacitor-uiscene-migration
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Capacitor UIScene Migration (8.4 -> 8.5)
Capacitor 8.5 moved the iOS template to the UIScene lifecycle because Xcode 27 requires it. It shipped as a breaking minor, iOS only. The 8.5 core still runs the AppDelegate path, so bumping the dependency alone does not break an app; the app project must adopt scenes before it can build with Xcode 27 (and before Capacitor 9).
Canonical source: https://capacitorjs.com/docs/updating/8-5
When to Use
TRIGGER when:
- App is on
@capacitor/ios8.0-8.4, or on 8.5 withoutUIApplicationSceneManifestinInfo.plist - Xcode 27 build or runtime warning "CLIENT OF UIKIT REQUIRES UPDATE: This process does not adopt UIScene lifecycle"
npx cap migrateprintedUIScene migration: project is in a partial state ... Skipping automated migration- After adding a scene manifest: custom URL scheme, universal link,
appUrlOpen, or AppDelegateapplicationDidBecomeActivecode stopped running - Build error on
tmpWindoworTmpViewControllerafter updating to 8.5 - A plugin author asks whether their iOS code survives the scene lifecycle
- Preparing a Capacitor 8 -> 9 upgrade from 8.4 or earlier