一个用于开发和生产的iPhone应用程序的推送证书过期了。我创建了一个新的证书,并且无法使推送通知在开发过程中再次工作。]
1) I created a new development_cert.p12 and used openssl to create a new pem file:
openssl pkcs12 -in development_cert.p12 -out apple_push_notification_development.pem -nodes -clcerts
2) I created new provisioning profiles for development
3) I turned off and on notifications on my device更新1 -生产推送通知使用新证书,但开发推送通知无法处理新证书。
知道为什么开发推送通知不起作用吗?
发布于 2013-08-08 15:05:31
您是否使用开发配置文件构建了应用程序并在设备上安装了更新的应用程序?如果没有,您的手机可能仍然可以用于生产APNS环境。
如果您安装了该应用程序,您是否注册了推送通知并获得了开发设备令牌?
最后,如果您获得了一个开发设备令牌并将其发送到您的服务器,您确定在尝试将通知推送到您的设备时使用了开发设备令牌吗?您确定使用了开发证书并连接到沙箱APNS服务器吗?
https://stackoverflow.com/questions/18117713
复制相似问题