Build an Expo app with Xcode 27 and the iOS 27 SDK, launch it on iOS 27, and it may never get past the splash screen. iOS 27 requires the UIKit scene-based life cycle, and apps that still create their window in the app delegate do not launch correctly. Expo SDK 58 handles it for you. SDK 57 has an opt-in. This post covers who has to do something, the three changes a hand-managed ios folder needs, and the bugs that show up after the switch.
The symptom
On our SDK 57 template, built with the iOS 27 SDK, the app stopped at launch on an iOS 27 simulator. The trap pointed at the missing scene adoption:
_UIApplicationEvaluateRuntimeIssueForNoSceneLifecycleAdoptionExpo's guide lists the other form of the same problem: a black screen on iOS 27 when the scene manifest or SceneDelegate.swift is missing, or when UISceneDelegateClassName in Info.plist names a class that does not exist.
Who needs to do something
Nothing to do, per Expo's guide, if:
- you use Continuous Native Generation and do not commit the ios folder: upgrade to SDK 58 and run npx expo prebuild --clean;
- your native code lives in config plugins that use ExpoAppDelegateSubscriber, or in Expo modules. Expo forwards the scene events to them.
You have work to do if:
- you maintain the ios folder by hand;
- you have a bare React Native app with Expo modules: run npx install-expo-modules@latest;
- you override UIApplicationDelegate methods directly, or ship a library that does;
- you are staying on SDK 57 but building with Xcode 27.
What changed
Under the old life cycle, AppDelegate created the UIWindow in didFinishLaunchingWithOptions and received every URL, user activity and foreground or background callback. Under the scene life cycle, UIKit creates a window scene and the window is made in the scene delegate's scene(_:willConnectTo:options:). UIKit stops calling application(_:open: options:), application(_:continue:restorationHandler:), the active and background callbacks and the quick action handler on the app delegate.
React Native core has not adopted scenes, so Expo supplies ExpoAppSceneDelegate. It creates the window, starts React Native, and routes URLs, user activities, Handoff, life cycle and quick actions back through ExpoAppDelegate to your overrides and subscribers. On SDK 58, prebuild generates SceneDelegate.swift and the UIApplicationSceneManifest entry in Info.plist.
Migrating a hand-managed ios folder
The quickest way to see the target is to run npx expo prebuild --platform ios in a scratch copy and diff its ios folder against yours. The changes are three.
1. A scene delegate next to AppDelegate.swift, added to the app target:
internal import Expo
@objc(SceneDelegate)
class SceneDelegate: ExpoAppSceneDelegate {}2. The scene manifest in Info.plist. Keep the $(PRODUCT_MODULE_NAME) prefix, or the class will not resolve:
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
<key>UISceneConfigurations</key>
<dict>
<key>UIWindowSceneSessionRoleApplication</key>
<array>
<dict>
<key>UISceneConfigurationName</key>
<string>Default Configuration</string>
<key>UISceneDelegateClassName</key>
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
</dict>
</array>
</dict>
</dict>3. AppDelegate conforms to ExpoReactNativeFactoryProvider, keeps the factory it creates, and no longer makes the window or calls startReactNative:
@main
class AppDelegate: ExpoAppDelegate, ExpoReactNativeFactoryProvider {
var window: UIWindow?
var reactNativeDelegate: ExpoReactNativeFactoryDelegate?
var reactNativeFactory: RCTReactNativeFactory?
public override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
) -> Bool {
let delegate = ReactNativeDelegate()
let factory = ExpoReactNativeFactory(delegate: delegate)
delegate.dependencyProvider = RCTAppDependencyProvider()
reactNativeDelegate = delegate
reactNativeFactory = factory
// No window and no startReactNative here: SceneDelegate does both.
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}Staying on SDK 57 with Xcode 27
SDK 57 keeps the old life cycle by default. From expo 57.0.23 there is an opt-in through expo-build-properties. It edits the template AppDelegate and points the manifest at Expo's built-in EXExpoAppSceneDelegate:
["expo-build-properties", { "ios": { "enableSceneSupport": true } }]Run npx expo install --fix first (older 57 patches throw), then npx expo prebuild --clean. It refuses to touch an AppDelegate that differs from the template. Remove the property when you move to SDK 58, where it does nothing.
Before that option existed we shipped a config plugin that did the same thing. If you wrote or copied one like it, delete it on SDK 58: ours kept running and replaced the scene delegate prebuild generates with its own.
Bugs after the switch
- Linking.getInitialURL() returns null on a cold start. Update to the latest SDK 58 expo package; cold-start URLs under scenes were fixed there.
- A deep link or user activity arrives twice. Your AppDelegate override forwards to RCTLinkingManager and Expo does too. Remove your manual call.
- Quick actions or Handoff stopped working. Use expo from SDK 58 or newer, which forwards them.
- A library's applicationDidBecomeActive never fires. UIKit no longer calls it on the app delegate. The library needs a scene equivalent or an ExpoAppDelegateSubscriber. Check its changelog for an iOS 27 release.
- Widgets or other extensions fail to build. ExpoAppSceneDelegate is unavailable in app extensions. Keep it in the app target only.
- Layout or popovers in the wrong place. Code that reads UIScreen.main or keyWindow should read geometry from its scene; expo-modules-core has helpers for it.
Expo's full guide, with the library notes, is at expo.fyi/ios-scene-lifecycle.
FAQ
Does my Expo app need changes for iOS 27?
Not if you use Continuous Native Generation and do not commit the ios folder: upgrade to SDK 58 and run npx expo prebuild --clean. Hand-managed ios folders, bare apps and direct UIApplicationDelegate overrides need work.
Can I build an SDK 57 app with Xcode 27?
Yes, from expo 57.0.23: set ios.enableSceneSupport to true in expo-build-properties and run a clean prebuild. Remove the property after upgrading to SDK 58, where it does nothing.
Why does Linking.getInitialURL() return null on iOS 27?
Cold-start URLs under the scene life cycle were fixed in a later SDK 58 release of the expo package. Update to the latest SDK 58 patch and make a new build.
Why does a deep link arrive twice after the switch?
Your AppDelegate override forwards the URL to RCTLinkingManager and Expo forwards it too. Remove the manual call and let ExpoAppSceneDelegate deliver it.
Next steps
- Upgrading to Expo SDK 58: every error we hit — The rest of the SDK 58 upgrade, error by error
- No ios/ or android/ folders — Keep native config in plugins, not in an ios folder
- Expo push notifications: setup, token, testing — Then: check push still opens the right screen