Skip to content

Commit a9ba8ef

Browse files
committed
fix(ci): supply the Apple Team ID so credential setup can reach Apple
With only the App Store Connect key, EAS gets far enough to authenticate and then prompts "Apple Team ID:", which fails on unreadable stdin in CI. The id is the OU of the team's own distribution certificate, not a secret.
1 parent cfb27b2 commit a9ba8ef

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ios-testflight.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ jobs:
7171
# non-interactive builds with "Failed to set up credentials".
7272
env:
7373
EXPO_ASC_API_KEY_PATH: ${{ github.workspace }}/app/asc-api-key.p8
74+
# Without this EAS prompts "Apple Team ID:" and dies on unreadable stdin.
75+
# It is the OU of the team's distribution certificate, not a secret.
76+
EXPO_APPLE_TEAM_ID: '39Z45MQX8Z'
7477
run: eas build --platform ios --profile testflight --auto-submit --non-interactive
7578

7679
- name: Submit existing build to TestFlight

0 commit comments

Comments
 (0)