Skip to content

fix(ci): run Codemagic store builds on the Mac instance with the EAS env - #3

Merged
hyochan merged 2 commits into
mainfrom
fix/codemagic-android-instance
Nov 17, 2026
Merged

hyochan merged 2 commits into
mainfrom
fix/codemagic-android-instance

Conversation

@hyochan

@hyochan hyochan commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Summary

The first production runs failed in two ways. This PR fixes both.

  1. Android could not start. Build 6afc8b67a8d25ca1eea914f6 stopped before running with: "The selected instance type is not available with the current billing plan." The OpenIAP team plan has no Linux instance, so android-production and android-qa-release now run on mac_mini_m2. The Mac image also carries the Android SDK.
  2. iOS stopped at "Load the EAS production environment". In build 6afc8b673031bfd49193367f, eas-cli evaluated app.config.ts before loading the environment. Because EAS_BUILD_PROFILE=production was already set, the config's required ad-id guard found no EXPO_PUBLIC_* values and env:exec failed. That single command now runs with EAS_BUILD_PROFILE and EAS_BUILD_PLATFORM unset. Every later step still applies the guards.

Verification

  • I reproduced failure 2 locally with the same variables (expo config --json exited with non-zero code: 1). With the fix, the same command returns all 21 EXPO_PUBLIC_* values.
  • After merge, both production workflows rerun from the merged commit.

🤖 Generated with Claude Code

The OpenIAP team plan offers no Linux instance, so linux_x2 builds fail
before they start. The Mac image carries the Android SDK, so both Android
workflows move to mac_mini_m2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hyochan hyochan added 🐛 bug Something isn't working 💨 ci Cloud integration labels Nov 17, 2026
@vercel

vercel Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
bookoo-public Ready Ready Preview Nov 17, 2026 6:27pm UTC

eas-cli evaluates app.config.ts before it loads the environment. With
EAS_BUILD_PROFILE=production already set, the config's required ad-id
guard saw no EXPO_PUBLIC_* values and env:exec failed, which stopped the
first ios-production run at that step. Unset the EAS_BUILD_* names for
that one command; every later step still runs the guards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hyochan
hyochan merged commit 3726682 into main Nov 17, 2026
6 checks passed
@hyochan
hyochan deleted the fix/codemagic-android-instance branch November 17, 2026 18:32
@hyochan hyochan changed the title fix(ci): build Android on the Codemagic Mac instance fix(ci): run Codemagic store builds on the Mac instance with the EAS env Nov 17, 2026

This branch was successfully deployed

1 active deployment
Preview — 74aa9b54 Deployed Nov 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working 💨 ci Cloud integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant