您的位置:首页 > 大数据 > 人工智能

解决No Certificates are available

2014-08-16 09:12 155 查看
今天在做苹果推送的时候遇到了这个问题,我明明是有证书的-------但一直解决不了

最后在stackoverflow的一个回答里找到答案了-----其实就是需要先做一个不是apn的证书出来


stackoverflow原地址:点击打开链接

解决我问题的回答是这个:
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

转载:http://blog.csdn.net/c806755614/article/details/18631139

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.

参考:http://stackoverflow.com/questions/16289035/no-certificates-are-available-provisioning-portal
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: