Skip to content

fix(release): allow unattended Mac installer signing - #36

Merged
PixPMusic merged 1 commit into
mainfrom
fix/mac-installer-key-access
Nov 9, 2026
Merged

PixPMusic merged 1 commit into
mainfrom
fix/mac-installer-key-access

Conversation

@PixPMusic

Copy link
Copy Markdown
Owner

What changed and why

The Mac job in Preview release #3 stalled during installer export before the upload started. CI imported the signing keys with access for codesign and security only; productbuild then waited for an interactive Keychain password/approval on a headless runner.

Authorize Apple's /usr/bin/productbuild and /usr/bin/productsign alongside the existing signing tools when importing the temporary P12. Keep the existing temporary keychain, partition settings, and cleanup. Targets main independently, following merged #35.

Verification

  • Reproduced with the real existing signed Mac archive and an isolated temporary keychain using the exact current CI import permissions: export stalled beyond 40 seconds and macOS displayed the productbuild key-access prompt. Stopped only that test's process group.
  • Repeated with the two installer tools authorized: scripts/testflight.sh export macos completed successfully without approval. Used the same certificate/P12, archive, profile, and API credentials; no compilation or new Apple upload.
  • Removed both temporary keychains and the provisioning profile installed for this comparison. A stale prompt for the deleted baseline keychain can be denied; it is unrelated to the user's login keychain.
  • Shell syntax, embedded Python syntax, and git diff --check passed. No unit test mirrors the tool allowlist; verification exercises the actual macOS key-access behavior.
  • Cancelled the stuck Actions run to release the runner. Its iOS upload had already succeeded; the next complete Preview release run needs a fresh build number. CI on the corrected import and a full Mac upload remain pending.

Before / after evidence

No app UI change. The real Keychain prompt reproduced the failure; the second export completed unattended. No credentials or temporary keychain passwords are included here.

Model: GPT-6.1 Sol | Harness: Codex in T3 Code

@PixPMusic
PixPMusic merged commit 8ec6105 into main Nov 9, 2026
2 checks passed
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