Xcode Command /usr/bin/codesign failed with exit code 1 : errSecInternalComponent

Open Keychain Access, then in the File menu select Lock All Keychains.

Then go back to Xcode and clean and rebuild. It will prompt you for your password again to unlock the keychain.

After this, assuming you have no other compile issues, it will succeed!

Leave a Comment