I am trying to upload an app that was created by my team and I am getting this error :
Provisioning profile "Developer profile" doesn't include signing certificate "iPhone Distribution" : person's name(key number)
I tried creating and downloading new certificate, a multiple times, but its showing the same error.
Is there any issue if the certificate is of distribution type and not development type, thus preventing to upload the app in test flight?
You can verify the following to troubleshoot your issue:
Verify that this certificate is actually an "iOS Distribution" certificate (https://developer.apple.com/support/certificates/)
Double check the bundle id of the certificate and compare it with your app on xCode. They should be the same. Also note the team this certificate is registered to.
Go to xCode -> Preferences -> Accounts -> Select your account -> Select correct team. Then click "Manage Certificates" and ensure the Distribution certificate is listed there.
Also ensure that the step 3. certificate doesn't have an error like "Private Key Missing" or something else.
Go to Build Settings -> General in xCode (Signing Configs in new xCode) and verify the correct team is selected (the one you noted in 2)