Repository navigation
docs(tf): record why export needs a live Xcode session, not an API key - #908
Merged
Merged
Conversation
tf:upload's export step authenticates -allowProvisioningUpdates via the
Xcode GUI Apple ID session; when it expires, export dies with "No signing
certificate 'iOS Distribution' found" even though the archive succeeded.
Passing -authenticationKey* instead does NOT fix it — cloud signing through
an ASC API key needs an Admin-role key, and the repo's key is App Manager
("Cloud signing permission error", verified 2026-07-20 across both apps).
Comment records the diagnosis + the re-login fix so the next expiry isn't
re-triaged from scratch, and notes the headless path if an Admin key lands.
Co-Authored-By: Claude Fable 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds an 8-line comment above tf:upload's
xcodebuild -exportArchivedocumenting why the export step depends on a live Xcode GUI Apple ID session.Why
During a real TestFlight run (both apps, 2026-07-20) the archive succeeded but export failed with
No signing certificate "iOS Distribution" found. Root cause: the Xcode GUI session had expired. Passing-authenticationKey*to authenticate via the ASC API key instead surfacedCloud signing permission error— cloud signing requires an Admin-role key and the repo's key is App Manager. The working fix is to re-log-in in Xcode; the comment records this so the next expiry isn't re-diagnosed from scratch, and notes the headless path if an Admin key is ever added tosecrets/.env.Both apps uploaded successfully after the re-login (Sudoku build 202607200651, Minesweeper build 202607200655).
Verification
Comment-only change; pre-commit gitleaks + hygiene gates pass. No code path altered.
🤖 Generated with Claude Code