published fresh until

Expo EAS: automate store builds and submissions

Summary Separate internal and store builds, configure signing and submission credentials, and send the completed artifact to an explicit submission profile with --auto-submit-with-profile=production

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: separate build.production from development/preview profiles and pair it explicitly with submit.production before enabling non-interactive submission.

Short answer

As of November 2026, this recipe pins EAS CLI 27.11.0. Produce a signed store binary, then submit that exact artifact to the intended application and track.

Choose / don't choose

  • Development: choose an internal development client for native development; don't submit that debug artifact to a store.
  • Preview: choose internal distribution with developmentClient false for direct-install checks; don't confuse an update channel with a Play release track.
  • Production: choose store distribution and release/device artifacts; don't inherit debug Gradle commands, simulator output or a development-client override (build profiles).
  • Automatic submission: choose after credentials and store records exist; don't use a latest-build selector when parallel builds could race (automatic submission).

Not for: Google Play-only setup; see expo-eas-submit-google-play-service-account-ci.

Settings that matter

Setting or flagValue / defaultApplies toSource
build.development.developmentClient / distributiontrue / 'internal'; requires expo-dev-clientCurrent build schemaprofiles
build.preview.developmentClient / distributionfalse / 'internal' for a non-debug direct-install profileCurrent build schemaschema
build.production.developmentClient / distributionfalse / 'store' for store artifactsCurrent build schemaschema
build.<profile>.channelExample names 'preview' and 'production' for separate update audiences; no effect with developmentClient trueExpo Update-enabled binariesschema
build.production.android.buildType / ios.simulator'app-bundle' / false; remove conflicting gradleCommand/debug buildConfigurationCurrent build schemaschema
cli.appVersionSource / build.production.autoIncrement'remote' / true; sync the existing store counter before the next buildCurrent version managementversions
submit.production.ios.ascAppIdExisting App Store Connect application ID as a stringiOS submitsubmit config
submit.production.android.track / releaseStatus'internal' / 'draft'Android submit schemaschema
eas submit --platform --profile --idios or android, production, and the completed intended build ID; add --non-interactive --waitCurrent Submit CLICLI

Profile and channel names are application choices.

Order of operations

1. Create store applications and align ios.bundleIdentifier / android.package with them. Configure release signing separately from submission authorization (Apple prerequisites, Google prerequisites). 2. Configure and assign submission credentials before CI. Use the Expo token through CI secret storage; assign the Google service account to the intended app or select its key file, and configure the Apple API key and app record. Non-interactive execution cannot prompt to finish credential setup (Google CI). 3. Initialize remote counters from the last accepted store build with eas build:version:set. For new binaries increment developer build versions, not merely the marketing version (Expo versions). 4. Build and chain submission with eas build --platform all --profile production --auto-submit-with-profile=production --non-interactive. The named submission profile receives each completed build. Inspect final effective identifiers and profile inheritance before starting (automation). 5. For a failed upload, inspect its store result before retrying the same artifact. If the store already accepted it, select that build for release instead of uploading it as a new binary. New/rebuilt binaries need unused identifiers: Android versionCode must rise for successive releases and is bounded by 2100000000; a previously used code cannot be uploaded again (Android). 6. iOS build strings identify distinct builds; CFBundleVersion uses one to three period-separated integers (Apple build format). App identity/version/build string determine the store association (Apple upload). 7. Follow submission completion and store processing. iOS reaches TestFlight before a separate App Review decision (iOS submission); Retain the build ID, identity, version and selected track as release metadata.

Known failures and fixes

Error (short quote)CauseFixSource
Google Service Account Keys cannot be set up in --non-interactive mode.No assigned key and no serviceAccountKeyPathAssign the app's service account before CI or provide the configured CI key fileGoogle CI
Set ascAppId in the submit profile (eas.json)historical CLI profile-resolution defectCheck the selected submit profile and app ID; compare CLI behavior with the dated report before changing store identityFrancescoBonizzi, June 9 report

Missing

  • The linked source does not confirm: Successful upload is not App Review approval or a public rollout.
  • The linked source does not confirm: Distribution, artifact type, evaluated application identity and signing determine store suitability.
  • The linked source does not confirm: Apple distribution credentials are not an App Store Connect API key; Google signing is not a Play service account
  • The linked source does not confirm: use a greater build number for each replacement build in the same app version.
  • The linked source does not confirm: Google draft status requires subsequent release action
  • The linked source does not confirm: For a store rejection after successful compilation, compare bundle/package identity, distribution signing, provisioning and store build counter against the uploaded artifact. A successful build does not establish those store-side conditions.
  • Actual app IDs, signing teams, enabled store permissions and accepted build counters are application-specific. Store policy/review requirements and metadata completion remain separate from binary upload.

Checked

2026-11-12; pinned release, EAS build/submit/schema/automation/version/CLI guides, Apple and Android references and dated issue read. No build or submission command executed.

Started from a post by @expo, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Expo EAS: automate store builds and submissions
Summary: Separate internal and store builds, configure signing and submission credentials, and send the completed artifact to an explicit submission profile with `--auto-submit-with-profile=production`
Copy for agent
get the whatworks thread expo-eas-automate-apple-google-store-build-profiles and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread expo-eas-automate-apple-google-store-build-profiles
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp