Wrong Team ID on Certificate problem.

Hello, first of all thanks for reading my post. I am having a trouble about Signing & Capabilities part on Xcode during few days. Hope someone knows how to deal with this.

I created a Apple Development certificate with CSR on my MacOS through KeyChain but the Team ID(VC78G4S77J) on this certificate is different with my real Team ID(FYF9AT8ZA8) logged in. I don't even know where this 'VC78G4S77J' came from.

Also I created the identifier, bundle ID, device and profile but they were all created with 'FYF9AT8ZA8'.

So here is the problem. On Xcode Signing & Capabilities section, I selected Team and put Bundle Identifier connected with 'FYF9AT8ZA8' but Signing Certificate is shown as 'Apple Development: My ID (VC78G4S77J). Therefore when I build iOS simulator on Xcode or VScode, there is error 'No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "FYF9AT8ZA8" with a private key was found.'

If I try turn off 'Automatically manage signing' and select provisioning profile I created, Xcode said my profile does not include VC78G4S77J certificate, because my profile has FYF9AT8ZA8 certificate. Importing profile file is not helpful also.

I think, first delete the all VC78G4S77J certificate in KeyChain and recreate FYF9AT8ZA8 certificate through KeyChain/CSR, however again VC78G4S77J certicate was created when I created on 'developer.apple.com'. I truly have no idea where did VC78G4S77J come from.

Please let me solve this issue.. Warm regards.

Written by Equus in 772993021
I don't even know where this 'VC78G4S77J' came from.

VC78G4S77J is not a Team ID. I suspect it’s the value we add to your certificate to make the name unique. Consider:

% openssl x509 -in Quinn.cer -inform der -text
Certificate:
    Data:
        …
        Subject: UID=UT376R4K29, CN=Apple Development: Quinn Quinn (7XFU7D52S4), OU=SKMME9E2Y8, O=Quinn Quinn, C=US
        …

where Quinn.cer is my Apple Development certificate. Note how the OU (Organisation Unit) field is my Team ID (SKMME9E2Y8) but the CN (Canonical Name) field contains the string 7XFU7D52S4. That’s not my team ID, but rather a random number that makes the CN field unique.


As to your signing problem, I’m not entirely sure what’s going on there. If you create a new project from one of Xcode’s built-in templates, leave automatic signing enabled, and select your team from the popup in Signing & Capabilities, are you able to build and run that test project on your device?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Wrong Team ID on Certificate problem.
 
 
Q