Ios – Can there be only one Distribution Certificate per App Developer

certificatecode-signingiosiphone

I experience big trouble with the iOS provisioning / certification.

Recently I submitted an app to App Store with a normal App Store Distribution Certificate. And then I wanted to create a AdHoc Beta Test for another app, and I am not sure what happened next but now the Provisioning Portal doesn't list my App Store Distribution Certificate anymore. Instead it only lists my AdHoc BetaTest Certificate.

Also, the Provisioning Portal has no way to create a new Certificate.
Recently I renewed my developer account so maybe everything expired causing the trouble?

My Keychain has an entry "iPhone Distribution: Mikhalo Ivanokov", with green checkmark "This certificate is valid", expiring in Nov 10, 2012.

But Provisioning Portal doesn't list this Distribution Certificate. Only the AdHoc BetaTest certificate.

How can I fix this? Does anyone know what might have happened? Did Xcode replace my App Store Distribution Certificate with my AdHoc Distribution Certificate? Can I have two, or must I somehow delete the AdHoc Distribution Certificate first?

Best Answer

You can only have one distribution and development certificate. However you can have multiple distribution profiles. So in your case, you can use the same distribution certificate to create an adhoc distribution profile and an app store distribution distribution profile. Remember that a profile is created by combining your certificate (either your dev or distribution one), an app id and optionally a list of devices.