fix(mobile-benchmark): adopt UIKit scenes so the app launches on iOS 27
Merged
LE
8d ago+32+32+01234567890123456789-0-0-0123456789
Issue
Fixes #1894
What changed
apps/mobile-benchmark/app.jsonturns onexpo-build-properties'ios.enableSceneSupport, Expo's own SDK 57 switch for the UIKit scene lifecycle.expo-build-propertiesis pinned at57.0.23, the versionexpo@57.0.33'sbundledNativeModules.jsonnames.- On prebuild it rewrites the template
AppDelegatetoExpoAppDelegate, ExpoReactNativeFactoryProviderwith no window of its own, and adds aUIApplicationSceneManifestthat namesEXExpoAppSceneDelegate(shipped inexpo@57.0.33). The SDK 58 template has the same shape. - No custom config plugin: Expo maintains this one, and on SDK 58 it only warns that the option is no longer needed.
- The README says why the option is there, how to regenerate an
ios/prebuilt before this change (expo run:iosdoes not re-prebuild an existing one), and to remove the plugin entry and dependency on SDK 58. examples/with-exponeeds no change: itsapp.jsonhas had the same option since #856. A scratch prebuild of it (expo 57.0.33, expo-build-properties 57.0.23) produces the same AppDelegate and scene manifest. I did not build or run it, so its README "Last checked" line is unchanged.- No changeset:
@e2e-dev/mobile-benchmarkis private. - CI: the native fingerprint changes (
expoConfig), somobile.ymlmisses the Expo cache once and rebuilds the app on both platforms. The Android mods inexpo-build-propertiesare no-ops withoutandroidprops.
Verified
Ran it locally: yes, the built CLI on the mobile benchmark, Xcode 27.2 (27B52), an iPhone 18 Pro simulator on iOS 27.2. This Mac has no iOS 26 runtime, so CI's iOS 26.5 job is the check there. Android was not run locally.
| main | this branch | |
|---|---|---|
Info.plist UIApplicationSceneManifest | absent | EXExpoAppSceneDelegate |
| launch on iOS 27.2 | exited due to SIGTRAP ... ran for 5047ms (_UIApplicationEvaluateRuntimeIssueForNoSceneLifecycleAdoption) | runs, home list shown |
e2e run --target ios-simulator (59 tests) | every test fails: the app is not running | 44 passed, 14 failed, 1 skipped |
Deep links, which now reach JS through the scene delegate:
- Warm: from Control Inventory,
simctl openurl e2e-benchmark://login-formpushes Login Form. - Cold: with the app terminated,
simctl openurl e2e-benchmark://gestureslaunches straight into Gestures, over Benchmark Examples. tests/device-fixture.e2e.ts"openLink opens the scenario a deep link names" passed in the last full run.
What the 14 failures are, and why I read them as not caused by this change:
- 11 are
ACTION_FAILED: operation timed outon a screen read, mostly the first read after opening a scenario ("expect gave up after 0 reads in 5.0s"). The screen at failure shows the expected node. The Mac was running an Android emulator and Gradle builds (load average 8 to 27), and a different set of tests failed in each of three runs: 18, then 14, withopenLinkfailing in one and passing in the other. refusals › a missing locator fails as not foundgotACTION_FAILEDwhere it expectsLOCATOR_NOT_FOUND: the same read timeout.sequential onboarding echoes the exact valuesandonboarding rejects a malformed emailfail every run withUNSUPPORTED_CAPABILITY: keyboard dismissal failed: the keyboard has no dismiss key. That is the engine against iOS 27's keyboard, not the app, and it is out of scope here.dismissing the keyboard over choice controlsfailed the same way in the previous run, and on a read timeout in this one.
There is no main baseline on iOS 27 to compare the failures against, since main does not launch there.
🤖 Generated with Claude Code