推送通知证书问题
开发版本确实可以使用,推送通知对我的应用程序的应用程序版本不起作用。花了一个小时查看我的代码后,我意识到这可能是我用来签署应用程序的证书!之前,我使用通配符应用ID来生成证书(com.apple。*)。如果我使用正确的应用程序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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要一个完全合格的配置文件才能将推送通知添加到您的应用程序。如果您切换到正确的应用程序 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.