Fix TestFlight codesign hang on CI (setup_ci) - #31
Merged
Conversation
match installs the distribution cert into the runner login.keychain but can't set the key partition list without a keychain password, so codesign blocks on a UI authorization prompt and the job hangs until timeout. setup_ci provisions a dedicated temporary keychain match/codesign use non-interactively. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Changes
fastlane/Fastfile: addsetup_ciat the top of thebetalane.Why
The 2 · Upload to TestFlight workflow hangs at code signing and is cancelled at the job timeout (runs 29533382047, 29535658952). Root cause from the logs:
matchimports the cert into the runner'slogin.keychain, but without a keychain password it can't runset_key_partition_list("Could not configure imported keychain item to prevent UI permission popup when code signing"), socodesignblocks on a UI prompt that never appears on a headless runner.setup_cicreates a dedicated temporary keychain with a known password thatmatchimports into andcodesignuses non-interactively — the canonical fastlane fix for this exact error. No-op locally.Notes
🤖 Generated with Claude Code