You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🤖 Fix keychain race condition in parallel macOS signing
Problem:
When running parallel electron-builder processes (x64 + arm64),
both try to create the same keychain simultaneously, causing:
SecKeychainCreate: A keychain with the same name already exists
Solution:
Pre-create and configure keychain in setup-macos-signing.sh before
running parallel builds. This ensures:
- Certificate is imported before electron-builder runs
- Both parallel processes use the same pre-configured keychain
- No race condition on keychain creation
Changes:
- Create unique keychain with timestamp
- Import certificate into keychain before parallel builds
- Configure keychain permissions for codesign
- Export CSC_KEYCHAIN for electron-builder
- Add verification step to confirm signing is enabled
0 commit comments