Skip to content

Fix TestFlight codesign hang on CI (setup_ci) - #31

Merged
adborbas merged 1 commit into
mainfrom
fix/ci-testflight-keychain
Jul 17, 2026
Merged

Fix TestFlight codesign hang on CI (setup_ci)#31
adborbas merged 1 commit into
mainfrom
fix/ci-testflight-keychain

Conversation

@adborbas

Copy link
Copy Markdown
Owner

Changes

  • fastlane/Fastfile: add setup_ci at the top of the beta lane.

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: match imports the cert into the runner's login.keychain, but without a keychain password it can't run set_key_partition_list ("Could not configure imported keychain item to prevent UI permission popup when code signing"), so codesign blocks on a UI prompt that never appears on a headless runner.

setup_ci creates a dedicated temporary keychain with a known password that match imports into and codesign uses non-interactively — the canonical fastlane fix for this exact error. No-op locally.

Notes

  • CI/release-tooling only; no app code touched.

🤖 Generated with Claude Code

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>
@adborbas
adborbas merged commit 4c5b4cf into main Jul 17, 2026
1 check passed
@adborbas
adborbas deleted the fix/ci-testflight-keychain branch July 17, 2026 03:29
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