iOS 推送通知不适用于分发 [英] iOS Push Notifications not working for Distribution

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

问题描述

我已经为我的开发应用程序尝试了推送通知,它运行良好.当我生成生产(分发)的 .p12 文件时,它正在被创建.在服务器上部署 .pem 文件后,它抛出并出错.

I have tried the Push Notification for my application for development and it's working fine. When I am generating the .p12 file of production(distribution) it's getting created. After deployin .pem file on the server it's throwing and error.

OpenSSL::SSL::SSLError(SSL_connect 返回=1 errno=0 state=SSLv3 read server s会话票 A:sslv3 警报证书未知):" }

服务器:RoR(Ruby on Rails)任何帮助都将非常可观.

Server : RoR(Ruby on Rails) Any help would be very appreciable.

注意:对于开发 .p12,它运行良好.问题是当我部署分发 .p12 时.请提出我可能遗漏的内容.

Note : For the development .p12 it's working fine. The issue is when I'm deploying distribution .p12. Please suggest what may I be missing.

感谢和问候

推荐答案

@Learner

如果所有其他选项都不起作用,那么您应该检查导出 p12 文件的方式.您应该导出与 Apple 生产证书关联的 p12 文件,我希望它会起作用.. 因为它对我有用!!!

If all other options are not working then you should check how you are exporting your p12 file. You should export the p12 file which is associated with Apple production Certificate, I hope it will work.. as its worked for me !!!

这篇关于iOS 推送通知不适用于分发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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