subharb
subharb

Reputation: 3472

No Certificates are available provisioning portal

Today I tried to upload a new version of my app, that uses Push Notifications, and XCode showed and error that I didnt have any valid Distribution profile. When I logged in the Provisioning Profile I saw that ALL my Distribution Profiles had expired, even though the last one, the one I was using for this specific app, was only 2 weeks old.

I tried renewing the profile from XCode but it gives this error No value was provided for the parameter 'certificateIds'. So I tried to make another Distribution Profile, but when I do so it doesnt find any Certificate Available. enter image description here

I try to do another certificate, clicking on that button, the certificate is created, it appears as a APNs Production iOS but when I go back it keeps saying there are no available Certificates.

So I have no idea what Im doing wrong, I recreated the CertificateSigningRequest and still nothing. I downloaded and installed the AppleWWDRCA but I dont know what to do with that, I installed it and that's it.

Any ideas? Im completly lost.

Upvotes: 23

Views: 13701

Answers (9)

José Neto
José Neto

Reputation: 507

You need to create the certificate using XCode (XCode -> Preferences -> Accounts -> View Details). After create, you will see the certificate on Portal

Upvotes: 0

Rahul K Rajan
Rahul K Rajan

Reputation: 796

May be the certificate you created were APNs certificate.You should create a development certificate. APNs certificate is only for the purpose of push related use, thats why its not enough to create a provision.That may be issue.

Upvotes: 0

harsa_
harsa_

Reputation: 632

For me, the reason was that the "No certificates available" screen was secretly a loading screen. After waiting for ~1 minute, it changed to allow me to choose my Distribution certificate.

Upvotes: 0

Artyom Pranovich
Artyom Pranovich

Reputation: 6962

For me the issue was that I didn't generate personal iOS Development certificate, and only had the APN certificate.

You need to generate this one from your XCode (XCode -> Preferences -> Accounts -> View Details -> iOS Development Signing Identity)

XCode iOS Development Certificate

After that, my certificate was available to add during provision profile creating.

Hope it helps.

Upvotes: 4

Narasimha Nallamsetty
Narasimha Nallamsetty

Reputation: 1263

For me this is worked. In the same window click on

create certificate-> select distribution -> upload CSR file which you have-> generate and download.

After downloading, double click on the profile which you just downloaded. Now you able to select provisioning profile in Xcode.

Upvotes: 0

23tux
23tux

Reputation: 14736

I also found this question, and was kinda confused with the answers ;)

But I figured it out: You need 2 certificates: For your app ID, you need to create a certificate for push notifications, an APN certificate (you can do this by clicking edit on your app ID, enable push notifications, and click "create certificate" for production). This will provide you with an certificate for your push notifications.

Secondly, you need to create a sign certificate (don't know if this is the right term), for your app. So you click on certificates, click on the + icon, choose app store, and follow the wizard.

Now you can create a new provisioning profile by clicking the + icon in the provisioning tab, and choose "App Store and Ad Hoc". Now you see your distribution certificate and you can create a provisioning profile for signing your app for production.

Upvotes: 6

Scott Antipa
Scott Antipa

Reputation: 141

I was able to solve this by creating a Distribution certificate. I hadn't realized that my existing certificate was only marked as Development. To do this I went into Xcode > Preferences > Accounts > View Deatils and then hit the refresh button at the bottom left. This prompted Xcode to request a distribution cert for me.

Upvotes: 9

Nate
Nate

Reputation: 403

ok i had the same problem but basically you just have to go back and create a standard iOS development certificate. Don't click the APN certificate. It worked for me

Upvotes: 1

Raphaël Pinto
Raphaël Pinto

Reputation: 653

I'm experiencing the same issue. Did you found the solution ?

** EDIT **

I found the solution : I had created an APN certificate but the provisioning needed a classic dev / push certificate.

Upvotes: 12

Related Questions