No Certificates are available provisioning portal

2019-03-17 13:31发布

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.

8条回答
ゆ 、 Hurt°
2楼-- · 2019-03-17 13:44

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.

查看更多
虎瘦雄心在
3楼-- · 2019-03-17 13:46

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.

查看更多
狗以群分
4楼-- · 2019-03-17 13:46

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.

查看更多
甜甜的少女心
5楼-- · 2019-03-17 13:51

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.

查看更多
劫难
6楼-- · 2019-03-17 13:51

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.

查看更多
Root(大扎)
7楼-- · 2019-03-17 13:57

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

查看更多
登录 后发表回答