Can there be only one Distribution Certificate per App Developer?
certificate, code-signing, ios, iphone
Solution
It seems to me that you had a distribution certificate and by mistake modified it to an Ad Hoc certificate (it easily can be done in Distribution tab of Provisioning Portal). You just need to make one more distribution certificate and sign your application with it if you want to update it in App Store.
You don't need to delete your Ad Hoc certificate, you just can maintain both distribution and Ad Hoc certificates on your developer Mac. You just need sign your application with right kind of certificate for publishing in App Store and Ad Hoc distribution.
Problem
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?