Then Xcode shouldn't just add dupes of these certs. What happens is signing fails, Xcode gives no guidance.
And so the Xcode UI has the option to add a new one. Then end up with dupe certs that cannot be cleaned out. Then the profiles fail if not the correct out of the 3 dupes, and signing still fails if the cert private key isn't in the keychain. Again no guidance from Xcode on any of these signing failures.
Here's one error. Xcode shows Ineligible for the profile:
Provisioning profile "KramViewerProvision" doesn't include signing certificate "Developer ID Application: ... (hash...)
Here's an error when the private key isn't in the Keychain.
C6BA06....: no identity found
Command CodeSign failed with a nonzero exit code
Topic:
Code Signing
SubTopic:
General
Tags: