When I create an iOS Development Certificate using Xcode or the manual CSR process, the Team ID is something like (for e.g.) EK1H65HGFB
, whereas my Team ID according to the Apple website is actually ECTE57HE5G
. Creating a Distribution Certificate in Xcode works just fine and produces a certificate with a correct Team ID.
This discrepancy causes provisioning profiles to break because they expect a Development Certificate with my real Team ID.
Why does this happen and how can I fix this? Is this a problem with my Xcode configuration? (I have removed all it's settings and reinstalled it though.)
Best Answer
I've since had communication with the Apple Developer Program Support and they've sent me an email clarifying the team IDs. This is what they wrote:
It seems the TeamID of the Development Certificate is in fact random. I wasn't able to do purchases in my app because of a bug and not this error.