Skip to content

[eas-json][eas-cli] add support for refreshAdHocProvisioningProfile to iOS build profile configuration in eas.json#3886

Draft
sswrk wants to merge 1 commit into
mainfrom
szymonswierk/eng-21429-add-an-option-to-easjson-about-the-default-value-of
Draft

[eas-json][eas-cli] add support for refreshAdHocProvisioningProfile to iOS build profile configuration in eas.json#3886
sswrk wants to merge 1 commit into
mainfrom
szymonswierk/eng-21429-add-an-option-to-easjson-about-the-default-value-of

Conversation

@sswrk

@sswrk sswrk commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Why

We support --refresh-ad-hoc-provisioning-profile for non-interactive iOS internal builds, but CI users had to pass the flag on every run. It will be useful to be able to make opt-in per-profile eas.json setting instead. Global default stays false.

How

  • eas-json: Add optional ios.refreshAdHocProvisioningProfile boolean to IosBuildProfile + Joi schema.
  • In eas-cli resolve effective value looking at the CLI flag first, then, if not provided, at eas.json. Flag now uses allowNo: true so --no-refresh-ad-hoc-provisioning-profile can override an eas.json true.
  • Wire resolved value through existing CredentialsContext / SetUpAdhocProvisioningProfile / iOS job prep paths.

Test Plan

CI passes.

…o iOS build profile configuration in eas.json
@linear-code

linear-code Bot commented Jun 19, 2026

Copy link
Copy Markdown

ENG-21429

@github-actions

Copy link
Copy Markdown

✅ Thank you for adding the changelog entry!

@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 82.14286% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.95%. Comparing base (88a404e) to head (056db2e).

Files with missing lines Patch % Lines
packages/eas-cli/src/commands/build/index.ts 25.00% 3 Missing ⚠️
packages/eas-cli/src/build/createContext.ts 33.34% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3886      +/-   ##
==========================================
+ Coverage   58.92%   58.95%   +0.03%     
==========================================
  Files         934      935       +1     
  Lines       40835    40857      +22     
  Branches     8607     8611       +4     
==========================================
+ Hits        24058    24082      +24     
+ Misses      16681    16679       -2     
  Partials       96       96              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant