简体   繁体   中英

Apple Developer Certificate: Incorrect Team ID

A recent attempt to build an app failed and I realized that the App ID prefix (Team ID) was different from the Team ID of my developer certificate. The prefix of my Distribution certificate is correct and matches my Team ID. My account is an individual one and I have attempted several times revoking and reissuing my Development certificate, but each time it is generated, it produces a certificate with a different Team ID.

To recap: App Identifier Prefix (on iTunes Connect): 8RJ7xxxx Distro Certificate Team ID: 8RJ7xxxx Development Certificate Prefix: 5PM6xxxx

Result: Develpoer team ID mismatches (between XCode and Certificates in Keychain) prevent app from being code signed.

Has anyone seen/corrected this issue?

After a back and forth with iOS Developer Help personnel, we've determined that: The Team ID for the Development Certificate is randomly assigned and will be different from the Distribution Certificate. The arbitrary Team ID for the Development Certificate ultimately has no bearing on reality. The code signing issues I was having were coincidental and were eventually fixed by (what you can read elsewhere on this site) revoking everything, re-issuing all certificates...and (what I was not doing) WAITING PATIENTLY (took about a day) before everything went back into effect.

if you login into https://developer.apple.com you will see in the "Identifiers" part, that every of your prefixes is an other one.

Check if your developer provisioning profile (I think it's the Wildcard profile) is connected correct with your certificate. Or you can delete it an synch again with xcode so it will create a new one by itself :)

I found the similar issue. I had different ID's both on generated certificate and provisioning profile. When I restarted my machine Xcode was able to re-fetch the matching certificates. This could be the Xcode bug to identify the exact certificate for the provisioning profile.

Restart you system and check Your Xcode settings

None worked for me so my solution is

Go to Signing & Capabilities (that tab you enable auto signing)

Disable app groups / entitlements . That worked for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM