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?
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.
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.
IOS distribution certificate personal account can only apply for three
Related
I am facing problem in generating the distribution provision profile for APNS.
Currently What i am doing
Creating App id and configuring this id for APNS
Generating certificate (using "App store and Ad Hoc " option)
Now i have Two certificates in Certificates list (APNs production ios & ios Distribution)
Finally generating Provision profile using app id and Certificate(ios distribution certificate)
The above steps i am doing for Distribution
Now my Questions are
1. I have two certificate. which one is to use to create .pem file ?
2. Do I need to install both certificate in keyChain ?
Please help me
Yes you need to install both certificates.
Each certificate is needed for that particular provision profile to be valid.
Appstore provision profile can be used for uploading the binary to iTunes connect.
Adhoc you can use for generating binary that could be installed in certain devices that you added in the provision profile.Both the cases APNs will work.
Can I use production certificate and distribution profile without goping for development .cer and profiles, as i am running out of time.
Any help is appreciated ?? Thanks
You can use production certificate and distribution provisioning profile to submit your app to the App Store.
You cannot run application using distribution profile because apple not gives option to add device.
If your are making development provisioning profile then
developerSite will gives option to select developer certificate,
there is not any option for distribution certificate.
If your are making distribution provisioning profile then
developerSite will gives option to select distribution certificate,
there is not any option for development certificate.
check screen shot.
Can I have more than one Distribution Certificate? I am developing an app but the current certificate was not created by me and is for another app. That app and cert was done by someone else who is no longer here.
I downloaded the vert, but in the organizer it tells me, Valid signing identity not found.
What am I to do?
Thanks for the help.
The error is shown, because a valid Signing Identity is not found. The Apple Documentation clearly describes how to export/import it. You should ask the certificate's creator to export his own copy of the certificate (because it can't be re-downloaded from the iOS Dev Center), then you can import and use it.
There's a difference between certificates and provisioning profiles.
Certificates are associated per account while provisioning profiles are for individual apps under each account.
If you are working with multiple iTunes / Apple Developer accounts, then yes you should have a certificate for each of those accounts installed in your keychain.
And assuming your app has it's own application (bundle) ID, you need to have a provisioning profile for each of the apps you're developing under that account. There are different provisioning profiles for distributing ADHOC builds and the Store build that gets uploaded for review by Apple.
It sounds like you need to start with just getting the certificate for the account you want to work with, then the provisioning profile.
I decided to submit a new version of my app after about 5 months.
I went to provisioning profile and noticed that my certificate is missing.
Every app store provisioning profile is linked to my certificate, and since the certificate is missing i cannot download my provisioning profiles.
What is the solution here?
Is it possible to submit a new certificate and relate my provisioning profiles to the new certificate?
Yes, generate a new certificate,
then edit your provisioning profiles to select the new one in the Certificates section.
In your projects, make sure your new profiles are selected in the Code signing property.
I can't understand from Apple's docs if I need a production certificate or a development certificate...
You need to create a Distribution Certificate. The Distribution Certificate are used for creating Distribution Provisioning Profiles. Which will allow you to do the following:
Create an Ad-Hoc version of your app (this is used if you want to distribute to beta-users, testers, etc (this is what you want))
Create an App Store version of your app (You'll do this once you're ready to submit it to the App Store)
Below are the Apple steps on how to create an Ad-Hoc version of an app
Ad Hoc distribution allows you to share your application with up to 100 iPhone or iPod touch users, and to distribute your application through email or by posting it to a web site or server. To prepare your application, the following steps will need to be completed.
Create and Download an iPhone Distribution Certificate
Create and Download an Ad Hoc Distribution Provisioning Profile
Build your application with Xcode
Share your application file and the Ad Hoc Distribution Provisioning Profile with the owner of each device
Recipients of the application will need to drag the application file and Ad Hoc Distribution Provisioning Profile into iTunes, then sync their iPhone to iTunes to install
Hope this information points you in the right direction. If you need additional details or walkthroughs just let me know.
The SSL certificate you need is for production when you're building with a distribution provisioning profile. As far as push (apns) is concerned, ad hoc == app store. This is quite helpful, as you can test how push will work in the app store build by building an ad hoc app and using the production certificate.