I recently moved an app from Expo SDK 53 to 57: React Native 0.79 to 0.86, Reanimated 3 to 4. The app has its own native modules and an iOS folder maintained by hand, so prebuild wasn't an option. The upgrade isn't in a store release yet, but the Release build is clean and the app runs.
Before you start
- Work on a branch, and keep the last shipped commit tagged so you can rebuild it.
- Open Expo's native project upgrade helper for your exact jump. It shows every template change to the native files.
- SDK 55 dropped the old architecture, and Reanimated 4 needs the new one. Check that each native module supports the New Architecture. React Native's interop layer covers many older libraries, but not all of them.
- React Native 0.85 and later need Node 20.19.4 or newer. SDK 56 and later need Xcode 26.4.
- Clear
ios/buildand the app's folder in Xcode's DerivedData before the first build, so old artifacts don't confuse the errors.
1. Check the dependency matrix before touching code
Run npx expo install expo@^57.0.0 --fix, then npx expo-doctor@latest. For everything Expo doesn't manage, read the peer dependencies at the new version and get the install clean without --legacy-peer-deps. When npm ls exits clean, you've found the conflicts on paper instead of in Xcode.
Use the latest 57 patch. SDK 56 made Hermes V1 the default, and the first SDK 57 releases inherited a memory regression in apps that import Reanimated or worklets. Expo fixed it in expo@57.0.9.
2. Build each native module on its own
Before the whole app, compile each local module against the new React Native. Mine needed no source changes, but SDK 56 raised the minimum iOS version to 16.4, and the deployment target was set in six different places. Search the podspecs, the Podfile and the Xcode project for every one.
3. Remove expo-av first. It blocks the build
Expo dropped expo-av from the SDK in 55; its last release targets SDK 54 and gets no patches. In my project its pod imported a header that expo-modules-core 57 removed, so while it was in the pod graph the app couldn't build at all, even if nothing calls it. Replace it with expo-audio (and expo-video for video).
The swap hides a behavior change. expo-av only touched the audio session while a sound or recording was active; expo-audio writes it whenever you set the audio mode. In my app, thirteen calls that had quietly done nothing started changing the session. Review each call site, and pass every option you care about, since setAudioModeAsync changes only the keys you give it.
4. Update the AppDelegate from the template
Copy the template diff instead of guessing. Mine was four lines: internal import Expo, @main instead of @UIApplicationMain, drop public from the class, and delete the bindReactNativeFactory call. Skip it and you'll see:
AppDelegate.swift:22:5: error: cannot find 'bindReactNativeFactory' in scope
error: ambiguous implicit access level for import of 'Expo'; it is imported as 'internal' elsewhereFix the first and the second goes away.
On SDK 57 the UIKit scene life cycle is opt-in, and with Xcode 26 you can skip it. Xcode 27 changes that: apps built with the iOS 27 SDK need the scene life cycle or they won't launch correctly on iOS 27. With a hand-maintained iOS folder, that means expo@57.0.23 or later plus the scene delegate, Info.plist and AppDelegate changes in Expo's scene guide.
5. Add worklets and prove the Babel plugin runs
Reanimated 4 moves worklets into react-native-worklets, and the Babel plugin is now react-native-worklets/plugin. Install both with npx expo install react-native-reanimated react-native-worklets so you get the pair your SDK expects, then pod install. Expo's Babel preset adds the plugin for you; if your babel.config.js still lists react-native-reanimated/plugin, replace it. Then clear the Metro cache.
Confirm the transform ran: compile a small worklet and look for the plugin's version marker in the output, next to a plain function as a control. A plugin that silently isn't applied makes for a confusing bug weeks later. While you're there, move runOnJS and runOnUI to scheduleOnRN and scheduleOnUI; the old names still work but are deprecated.
6. Build the whole scheme in Release
Debug builds hide problems. Build Release for both device and simulator architectures, then launch it on a device.
Hand-maintained iOS folder? Use pod install, not prebuild
prebuild generates ios/ from your app config and can overwrite manual changes. pod install touches only the CocoaPods wiring in the Xcode project; my project file came out byte-identical across runs.
One trap: if Podfile.lock is committed but Pods/ isn't, a pull can bring in a new lock while your installed pods are stale. Nothing tells you at pull time. The build fails later at [CP] Check Pods Manifest.lock with "The sandbox is not in sync with the Podfile.lock". A Git hook that runs the same comparison after each pull catches it early. Install it as both post-merge and post-rewrite, so git pull --rebase runs it too:
#!/bin/sh
# .git/hooks/post-merge and .git/hooks/post-rewrite (chmod +x both)
cmp -s ios/Podfile.lock ios/Pods/Manifest.lock ||
echo "Pods are missing or stale: run pod install in ios/"Other errors worth knowing
As of SDK 56, expo-router is no longer compatible with react-navigation.Expo Router no longer depends on React Navigation, so imports from@react-navigation/*in app code have to move. Expo ships a codemod:npx expo-codemod sdk-56-expo-router-react-navigation-replace src. Don't commit the environment flag that bypasses the check.- Regenerating the lockfile let an unpinned package float to a release whose
package.jsonpointed at missing files, which broke the Release bundle. Pin what you depend on. - A Finder
.DS_Storewritten intoPods/mid-build failed a React Native 0.86 build step withENOTEMPTY. Keep Finder out of the build folder. - If you ship over-the-air updates, change
runtimeVersionwith the native upgrade. Otherwise the update server treats old and new binaries as compatible, and one can receive JavaScript built for the other. With Expo's recommendedappVersionpolicy, that means bumping the app version. In a hand-maintained project, check that the built app carries the new value.
If you need to roll back
Rebuild from the tagged commit. Because the new build has its own runtime version, updates you publish for it won't reach users still on the old binary, and the reverse.
Want a hand with this?
If an Expo or React Native upgrade keeps failing on you, get in touch.