Azure Apns Hub无法使用生产证书 [英] Azure Apns Hub not working with production Certificate

查看:57
本文介绍了Azure Apns Hub无法使用生产证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在沙盒模式下成功测试了azure apns集线器.现在,当我尝试切换到生产时,没有任何效果.我已经阅读了教程,并且确定可以正确生成生产证书.有人知道会有什么问题吗?在某些时候,我想我已经读到,当我使用Iphone测试沙盒APN时,切换到生产环境后可能无法正常工作.

I have successfully tested an azure apns hub in sandbox mode. Now when I try to switch over to production, nothing works. I have read the tutorials, and i'm sure that I generated the production certificate right. Does anybody have an idea what the problem would be? At some point I think I have read that while I was using an Iphone to test the sandbox apns, it may not work after switching to production.

推荐答案

在调试了更多内容之后,我弄清了问题所在.我必须使用生产证书来运行我的应用程序.这意味着,我无法通过Xcode测试运行该应用程序的生产APNS,因为xcode会自动安装链接到沙盒APN的开发证书.使用生产证书在xcode之外运行该应用.

After debugging some more, I figured out what the problem was. I had to run my application with the production certificate. That means, that I could not test the production APNS running the app through Xcode, since xcode would automatically install the development certicicate that is linked to the sandbox apns. Run the app outside of xcode, with the production certificate.

这篇关于Azure Apns Hub无法使用生产证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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