I’m archiving an iOS app in Xcode 27.2 on my Mac, using Xcode’s GUI and Automatically manage signing. The archive fails during the [CP] Embed Pods Frameworks build phase, when codesign signs CapacitorAppLauncher.framework, with errSecInternalComponent.
Keychain Access shows my Apple Development certificate and its associated private key in the login keychain. I’m signed in to the Mac locally; this is not an SSH or CI build. Changing the Mac login password did not resolve the issue. I have not revoked or changed the Apple Distribution certificate.
What safe diagnostics can distinguish a login-keychain unlock problem, a private-key access-control issue, an untrusted certificate, or another cause? Is there a recommended GUI-session test to determine whether codesign can use the identity independently of the Xcode archive build?
I can provide redacted Xcode and system details if needed. I will not post passwords, private keys, account identifiers, or unredacted keychain screenshots.