推送通知证书问题 [英] Push Notifications Certificates Question

查看:69
本文介绍了推送通知证书问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

推送通知不适用于我的应用程序的App Store版本,而开发版本有效.花了一个小时浏览我的代码后,我意识到这可能是我用来签署我的应用程序的证书!以前,我使用通配符App ID生成证书(com.Apple.*).如果我使用正确的App ID,您认为它会开始起作用吗?同样,所有内容都可以使用开发证书.感谢您的帮助!

Push notifications are not working for the App Store version of my app, while the development version does work. After spending an hour looking through my code, I realized that it's probably the certificate I am using to sign my app! Before, I was using a wildcard App ID to generate a certificate (com.Apple.*). If I use the correct App ID, do you think it would start working? Again, everything works with the development certificate. Thanks for your help!

推荐答案

您需要一个完全合格的配置文件才能向您的应用添加推送通知.如果您切换到正确的App ID,则您的通知应该可以正常运行.不过请记住,以确保应用程序ID&捆绑包ID完全匹配.

You'll need a fully qualified provisioning profile to add push notifications to your App. If you switch to the correct App ID, your notifications should work fine. Remember though, to make sure the App IDs & bundle IDs match exactly.

这篇关于推送通知证书问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆