When a build fails, the first place you look is whatever you touched. I did that for years.
But once you are running a few apps side by side, a day arrives when nothing on your side changed and the result changed anyway. Same commit. Same dependencies. What moved was the Mac on the other end of the pipe.
Scroll an EAS Build log all the way back to the top and there is a quiet section called Spin up build environment. It names the image that build actually ran on. For a long stretch I had never read that line once.
This piece is for anyone about to bump their Expo SDK who wants to know, ahead of time, what else moves underneath that one-line change, and whether to pin the image field because of it. Every version number below is what Expo's "Build server infrastructure" page listed as of November 2026.
The default when you leave it out is not latest
This is the part I see misread most often.
If you do not put an image field in eas.json, EAS Build runs the job on the auto alias. Not latest. The auto alias picks an image based on your project configuration, your Expo SDK version, and your React Native version.
So the default behaviour is not "always newest." It is "chosen to suit your SDK." That sounds calm, and mostly it is. The flip side is that the image changes the moment you bump your SDK.
The value you can set is either a full image name or one of the aliases: auto, latest, or a per-SDK alias such as sdk-58. They behave differently from one another.
| What you set | When its contents move | When it fits |
|---|---|---|
Full name (e.g. macos-tahoe-26.6-xcode-27.1) | Almost never; minor updates only | You want a frozen environment |
auto (default) | When you raise the SDK or RN version | You want to follow Expo's judgement |
Per-SDK, e.g. sdk-58 | With every new SDK release | You track environments by SDK |
latest | With every new image release | You want the newest Xcode early |
latest does not mean "stable." It is the label Expo puts on the image carrying the newest software. Read it as the stable option and your reasoning ends up pointing the wrong way.
What actually swaps when you go from SDK 57 to 58
That stays abstract until you put two images next to each other, so here are the iOS images behind sdk-57 and sdk-58. If you stay on auto and bump from SDK 57 to 58, your build moves from the left column to the right one.
| Item | sdk-57 (macos-tahoe-26.5-xcode-26.6) | sdk-58 and latest (macos-tahoe-26.6-xcode-27.1) |
|---|---|---|
| Xcode | 26.6 (17F113) | 27.1 RC (27A9275) |
| macOS | Tahoe 26.5.2 | Tahoe 26.6.2 |
| Node.js | 22.23.1 | 22.23.3 |
| pnpm | 11.9.0 | 11.28.2 |
| Ruby | 3.2 | 3.4.11 |
| CocoaPods | 1.16.2 | 1.17.0 |
| fastlane | 2.236.1 | 2.240.1 |
| node-gyp | 13.0.0 | 13.1.0 |
Three things stop me here. Xcode crosses a major version into the 27 line. That Xcode is labelled "RC" in the list. And the Ruby that runs fastlane and CocoaPods jumps from 3.2 to 3.4. All of that sits underneath a changelog entry that just says "bumped Expo SDK."
The previous step, SDK 56 to 57, did the same thing with different tools: pnpm went from 10.33.3 to 11.9.0 across a major, and node-gyp from 12.3.0 to 13.0.0. Which tool crosses a major changes from step to step. That something does is close enough to a rule that I plan around it.
It is worth being precise about which of these you can actually control elsewhere. Node.js you can usually steer from your project, for example with the node field in a build profile. Xcode, the macOS version, and the Ruby that fastlane runs on are decided by the image and nothing else. That is the practical reason the image field exists: it covers the pieces there is no other knob for.
latest points at different generations on iOS and Android
This was the line in the list that made me stop scrolling.
| Platform | Image labelled latest | Image labelled sdk-58 |
|---|---|---|
| iOS | macos-tahoe-26.6-xcode-27.1 | The same image |
| Android | ubuntu-26.04-jdk-17-ndk-r27b-sdk-57 | ubuntu-26.04-jdk-17-ndk-r27b-sdk-58 |
As of November 2026, iOS latest is the SDK 58 image, while Android latest is still attached to the SDK 57 image. The Android sdk-58 image ships Node.js 22.23.2, pnpm 11.27.0 and node-gyp 13.0.2; the sdk-57 one has Node.js 22.23.1, pnpm 11.9.0 and node-gyp 13.0.0.
So a profile that says "image": "latest" and looks like it keeps both platforms in step may be running them on different generations. Aliases are reassigned per platform, and nothing promises the two move together. If you want both platforms aligned, write a full name or a per-SDK alias for each platform separately.
An Xcode 27 image can produce an app that will not launch
Expo's infrastructure page carries one more note that is easy to scroll past. Apps built on Xcode 27 images, latest included, launch on iOS 27 only if they use the UIKit scene life cycle.
Reading that sent me straight back to my own eas.json, because I had set my preview profile to latest precisely so it would meet new environments early. On an app still on SDK 57, that means the preview build is compiled with Xcode 27, and without scene support it will not start on an iOS 27 device. The place I had set aside to break early was set up to break in exactly the wrong way.
What to do depends on your SDK.
| Your SDK | If you want the Xcode 27 image | If you do not |
|---|---|---|
| SDK 58 or later | Scene life cycle support is included; nothing extra to set | — |
| SDK 57 | Set ios.enableSceneSupport to true in expo-build-properties (SDK 57.0.23 or newer; standard Swift AppDelegate template only) | Use auto or sdk-57 |
| SDK 56 or older | — | Use auto or your own sdk- alias |
On SDK 57, enabling it in app.json looks like this:
{
"expo": {
"plugins": [
[
"expo-build-properties",
{
"ios": {
"enableSceneSupport": true
}
}
]
]
}
}If you have customised your AppDelegate, prebuild may stop at this point. What I check in that case is in the three lines I check when prebuild stops on the standard SDK 57 Swift AppDelegate error.
Pull the image name out of your last green build
Before deciding whether to pin, you need to know where you already are. The order I use:
- Open your most recent successful build in the EAS dashboard
- Scroll the log to the
Spin up build environmentsection - Copy the image name printed there
If you are running on auto, that name is the environment your app is genuinely shipping from today. It is not written in eas.json, so the log is the only place it exists.
It also helps to list what each profile in eas.json currently asks for, so you can hold it up against the name you just copied. This is a small Node.js script you run from the project root.
// check-eas-image.js — list the image setting for each profile in eas.json
// Usage: node check-eas-image.js
const fs = require("fs");
const eas = JSON.parse(fs.readFileSync("eas.json", "utf8"));
const profiles = eas.build || {};
for (const [name, profile] of Object.entries(profiles)) {
for (const platform of ["ios", "android"]) {
const image = profile[platform] && profile[platform].image;
const note = profile.extends ? ` (extends: ${profile.extends}, not resolved)` : "";
console.log(`${name.padEnd(12)} ${platform.padEnd(8)} ${image || "not set -> auto"}${note}`);
}
}On a project that sets nothing, the output looks like this:
development ios not set -> auto
development android not set -> auto
preview ios not set -> auto
preview android not set -> auto
production ios not set -> auto
production android not set -> auto
The script does not follow extends. If your profiles inherit from one another, read the parent profile's lines too.
Once you have the name, it drops straight into your config. Pinning an SDK 58 production build would look like this:
{
"build": {
"production": {
"ios": {
"image": "macos-tahoe-26.6-xcode-27.1"
},
"android": {
"image": "ubuntu-26.04-jdk-17-ndk-r27b-sdk-58"
}
}
}
}You can also split it per profile. I still prefer pinning production while letting a preview profile move ahead, but for the reason in the previous section my preview profile now uses a per-SDK alias rather than latest. In the week I bump the SDK, I move preview to the new alias first, so the first breakage happens somewhere that is allowed to break.
{
"build": {
"preview": {
"distribution": "internal",
"ios": { "image": "sdk-58" },
"android": { "image": "sdk-58" }
},
"production": {
"ios": { "image": "macos-tahoe-26.5-xcode-26.6" },
"android": { "image": "ubuntu-26.04-jdk-17-ndk-r27b-sdk-57" }
}
}
}Sorting out a build that broke right after an SDK bump
If the build fails and you did not touch the code, suspect the image difference first. This is the order I go through.
| Symptom | Likely cause | How to confirm | Fix |
|---|---|---|---|
| Dependency install fails with a lockfile error | The image's pnpm (or Yarn, npm) differs from the version that wrote your lockfile | Compare the version in Spin up build environment with pnpm -v locally | Match your local version and regenerate the lockfile, or build once on the previous image's full name to confirm the difference |
| iOS build succeeds but the app stops right after launch on iOS 27 | Built on an Xcode 27 image without scene life cycle support | Check whether the image name contains xcode-27, and your SDK version | On SDK 57, enable ios.enableSceneSupport or go back to auto / sdk-57 |
New warnings or errors during pod install | CocoaPods 1.16.2 to 1.17.0 and Ruby 3.2 to 3.4 | Put the last green build's log next to this one and compare image name and CocoaPods version | Rebuild the same commit on the previous image's full name to see whether the difference is in the image |
| Only native module compilation fails | node-gyp or compiler version changes | The node-gyp version in the log, and which package fails | Upgrade that package to a version that supports the new SDK |
| Behaviour changed on only one platform | latest drifting between platforms | Compare the image names in both platforms' logs | Write a full name or per-SDK alias per platform |
"Rebuild on the previous image's full name" is a way of splitting the problem in two. If the same commit passes on the old image, the search narrows to the difference between images, not your code.
Pin, do not pin, or just keep a note
Pinning is not a free win. Each of the three positions buys something and costs something.
| Position | What you get | What you pay | Fits |
|---|---|---|---|
| Pin a full name | The same commit builds with the same Xcode and fastlane next month | The day Apple raises its minimum Xcode, you can no longer submit | Months between builds |
Stay on auto, note the image name | You always know what changed and when | You give up reproducibility | Regular releases, every couple of weeks |
Stay on auto, note nothing | No effort | When it breaks, you cannot tell what moved | The state to avoid |
The deadline a pinned image eventually runs into is on Apple's side. Since April 28, 2026, Apple has required apps uploaded to App Store Connect to be built with Xcode 26 or later, using the iOS 26 SDK or equivalent. As of November 2026 I do not see an Xcode 27 requirement on Apple's Upcoming Requirements page, but going by how this has gone in past years, I would expect the bar to move the same way at some point. Expo, for its part, says it supports the stable Xcode releases you can still submit with, which in practice means the newest one and the one before it.
So if you pin, put the date and the reason in the commit message. I have skipped that more than once and then spent an evening working out why a particular image name was sitting there. Pinning is not "you never have to decide." It is "you choose when to decide."
If I had to put the call in one sentence: if months pass between your builds, pin; if you ship every couple of weeks, a note is enough. Either way, being able to read what you are running on matters more than whether you pin it. Skip that and a failing build turns into an afternoon of bisecting your own code for a change that was never yours.
Three things I have misread myself
First, "if I leave image out, I get the newest Xcode." The default is auto, chosen to suit your SDK. If you are still on SDK 57 with auto, as of November 2026 you are building on the Xcode 26.6 image.
Second, "writing latest keeps iOS and Android on the same point in time." As covered above, the two latest labels currently point at images built for different SDKs.
Third, "the same image name means the same contents forever." Expo's wording is that a specific name guarantees a consistent environment with only minor updates. That is very stable, not frozen, and I treat it that way.
Where you are likely to get stuck next
Once the image is settled, the next thing to hit is usually SDK 58 itself. If your code uses React Native APIs that were removed, matching the image will not get the build through. Running a script to find the React Native APIs SDK 58 removed first saves you from wondering whether a failure is the image or the code.
Which expo patch you are really on comes up from another angle in checking which expo version your app is really on. For device checks after the build passes, the order I check my live app on a spare iPhone now that iOS 27 is out makes the sequencing easier.
One thing for today
One task is enough. Open the log of your last successful build and copy the image name from Spin up build environment. If the name contains xcode-27 and you are on SDK 57, check scene support the same day. Whether to pin is a decision you can make afterwards, with the name in front of you.
Build environments are the part nobody looks at while things are working. Opening it once during a calm week tends to pay for itself during a loud one.