Skip to content

EAS Local Build produces x86_64 simulator build - not the required arm64 #3281

@EinoPitkala

Description

@EinoPitkala

Build/Submit details page URL

No response

Summary

EAS local build for simulator outputs .app file which is x86_64, not the required arm64 for Silicon Macs running simulators.
app.json:
{ "expo": { "name": "REDACTED", "slug": "REDACTED", "version": "1.0.0", "orientation": "portrait", "icon": "./assets/images/app.png", "scheme": "REDACTED", "userInterfaceStyle": "automatic", "newArchEnabled": true, "ios": { "supportsTablet": true, "bundleIdentifier": "REDACTED", "infoPlist": { "NSCameraUsageDescription": "REDACTED", "NSUserTrackingUsageDescription": "REDACTED", "ITSAppUsesNonExemptEncryption": false } }, "android": { "adaptiveIcon": { "backgroundColor": "#E6F4FE", "foregroundImage": "./assets/images/android-icon-foreground.png", "backgroundImage": "./assets/images/android-icon-background.png", "monochromeImage": "./assets/images/android-icon-monochrome.png" }, "edgeToEdgeEnabled": true, "predictiveBackGestureEnabled": false, "permissions": [ "android.permission.CAMERA", "android.permission.CAMERA" ], "package": "REDACTED" }, "web": { "output": "static", "favicon": "./assets/images/favicon.png" }, "plugins": [ "expo-router", "expo-apple-authentication", [ "expo-splash-screen", { "image": "./assets/images/app.png", "imageWidth": 200, "resizeMode": "contain", "backgroundColor": "#ffffff", "dark": { "backgroundColor": "#000000" } } ], [ "expo-build-properties", { "ios": { "deploymentTarget": "15.5" } } ] ], "experiments": { "typedRoutes": true, "reactCompiler": true }, "extra": { "router": {}, "eas": { "projectId": "REDACTED" } }, "owner": "REDACTED" } }

eas.json:
`
{
"cli": {
"version": ">= 16.26.0",
"appVersionSource": "remote"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal",
"env": {
ENV VARS
}
},
"production": {
"autoIncrement": true,
"env": {
ENV VARS
},
"simulator-dev": {
"extends": "development",
"ios": {
"simulator": true,
"buildConfiguration": "Release"
}
}
},
"submit": {
"production": {}
}
}

`

Managed or bare?

Managed

Environment

expo-env-info 2.0.8 environment info:
System:
OS: macOS 26.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 25.2.1 - /opt/homebrew/bin/node
npm: 11.6.2 - /opt/homebrew/bin/npm
Watchman: 2025.10.13.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.16.2 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 25.0, iOS 26.0, macOS 26.0, tvOS 26.0, visionOS 26.0, watchOS 26.0
IDEs:
Xcode: 26.0.1/17A400 - /usr/bin/xcodebuild
npmPackages:
expo: ~54.0.13 => 54.0.25
expo-router: ~6.0.11 => 6.0.15
react: 19.1.0 => 19.1.0
react-dom: 19.1.0 => 19.1.0
react-native: 0.81.5 => 0.81.5
react-native-web: ~0.21.0 => 0.21.2
npmGlobalPackages:
eas-cli: 16.28.0
expo-cli: 6.3.12
Expo Workflow: managed

npx expo-doctor
env: load .env.local
env: export REDACTED
14/17 checks passed. 3 checks failed. Possible issues detected:
Use the --verbose flag to see more details about passed checks.

✖ Check Expo config (app.json/ app.config.js) schema
Errors validating asset fields in /Users/eino/APPname/app.json:
Field: icon - image should be square, but the file at './assets/images/app.png' has dimensions 408x430.
Advice:
Resolve schema errors in your app config. Learn more: https://docs.expo.dev/workflow/configuration/

✖ Validate packages against React Native Directory package metadata
The following issues were found when validating your dependencies against React Native Directory:
Untested on New Architecture: @react-native-ml-kit/text-recognition
No metadata available: expo-text-recognition
Advice:
Use libraries that are actively maintained and support the New Architecture. Find alternative libraries with https://reactnative.directory.
Add packages to expo.doctor.reactNativeDirectoryCheck.exclude in package.json to selectively skip validations, if the warning is not relevant.
Update React Native Directory to include metadata for unknown packages. Alternatively, set expo.doctor.reactNativeDirectoryCheck.listUnknownPackages in package.json to false to skip warnings about packages with no metadata, if the warning is not relevant.

✖ Check that packages match versions required by installed Expo SDK

⚠️ Minor version mismatches
package expected found
react-native-svg 15.12.1 15.15.0

🔧 Patch version mismatches
package expected found
expo ~54.0.30 54.0.25
expo-blur ~15.0.8 15.0.7
expo-camera ~17.0.10 17.0.8
expo-clipboard ~8.0.8 8.0.7
expo-constants ~18.0.12 18.0.10
expo-dev-client ~6.0.20 6.0.18
expo-font ~14.0.10 14.0.9
expo-haptics ~15.0.8 15.0.7
expo-image ~3.0.11 3.0.10
expo-linking ~8.0.11 8.0.9
expo-notifications ~0.32.15 0.32.13
expo-router ~6.0.21 6.0.15
expo-splash-screen ~31.0.13 31.0.11
expo-status-bar ~3.0.9 3.0.8
expo-symbols ~1.0.8 1.0.7
expo-system-ui ~6.0.9 6.0.8
expo-web-browser ~15.0.10 15.0.9

Changelogs:

18 packages out of date.
Advice:
Use 'npx expo install --check' to review and upgrade your dependencies.
To ignore specific packages, add them to "expo.install.exclude" in package.json. Learn more: https://expo.fyi/dependency-validation

3 checks failed, indicating possible issues with the project.

Error output

An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=4):
App installation failed: “APP NAME” Needs to Be Updated
This app needs to be updated by the developer to work on this version of iOS.
Failed to find matching arch for input file: /Users/eino/Library/Developer/CoreSimulator/Devices/C7EEA0AD-5A7C-4D5F-AEB0-907E6A62E1B6/data/Library/Caches/com.apple.mobile.installd.staging/temp.YEQVH8/extracted/APPNAME.app/APPNAME
Underlying error (domain=IXUserPresentableErrorDomain, code=4):
“APP NAME” Needs to Be Updated
This app needs to be updated by the developer to work on this version of iOS.

Reproducible demo or steps to reproduce from a blank project

Make a blank project

Use my eas.json and app.json

Try to build with command eas build -p ios --local --profile simulator-dev

Launch a IOS simulator with provided versions of Xcode

Get an error An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=4): App installation failed: “APP” Needs to Be Updated when installing the .app file with command xcrun simctl install booted path/to/.app

Check if the file is arm64:

APP="/path/to/.app"
file "$APP/Appname"
lipo -info "$APP/Appname" 2>/dev/null || true

/path/to/XXXXX.app/Appname: Mach-O 64-bit executable x86_64
Non-fat file: /path/to/XXXXXXX.app/Appname is architecture: x86_64

-> No successful install

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reviewIssue is ready to be reviewed by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions