iOS版通过亚马逊SNS和Unity APNS - 无法创建一个开发的iOS证书 [英] iOS APNS through Amazon SNS and Unity - Cannot create a development iOS certificate

查看:147
本文介绍了iOS版通过亚马逊SNS和Unity APNS - 无法创建一个开发的iOS证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过亚马逊SNS在统一设置推送通知。

I'm trying to set up push notifications through Amazon SNS in Unity.

我有许多事情可以正常使用了Android端,但我们现在与iOS的问题。我能得到注册到苹果生产 SNS应用和订阅的话题,但只要我尝试发送一个通知端点已启用状态变为假的设备。

I have the Android side of things working perfectly but we're having issues with iOS. I am able to get the device to register to a Apple Production SNS application and subscribe to a topic but as soon as I attempt to send a notification the endpoints "Enabled" status becomes "False".

我看了,这可能是由于证书被设置为生产虽然我们跟着上创建的开发证书,说明当我尝试上传.p12文件创建一个苹果开发平台SNS它总是给人一个错误说:

I read that this could be due to the certificate being set as Production although we followed the instructions on creating a Development certificate, when I try uploading the .p12 file to create an Apple Development platform in SNS it always gives an error saying:

你提供的类型的iOS生产证书

"You provided a certificate of type iOS Production"

我们已经尝试多次,下载开发证书,并试图重建一个新的包ID和新的应用程序在苹果开发网站应用程序无需触摸生产按钮,但它最终总是出口中.P12之后是一个生产许可证从Keychain ...

We have tried multiple times to download the development certificate and tried rebuilding the app with a new bundle ID and new app on the Apple development site without touching the production button but it always ends up being a production certificate after exporting the .p12 from KeyChain...

此外,我们还创建了每一个的.p12有完全相同的私钥证书作为最后。

Also, every .p12 we have created had the exact private key and certificate as the last.

可能是什么回事?

推荐答案

这为我工作:

1 - 从苹果下载证书(APNS证书开发或生产)

1 - Download the Certificate from Apple (APNS Certificate for Development or Production)

2 - 你的证书,双击在您的钥匙串中打开它。

2 - Double click on your Certificate to open it in your KeyChain

3 - 选择它,右键点击它,preSS出口神经酰胺***不能同时选择它使用私钥,选择它本身

3 - Select it, Right-Click on it and press EXPORT "Cer" *** DO NOT SELECT IT TOGETHER WITH YOUR PRIVATE KEY, Select it By ITSELF!

4 - 命名新P12和在安装阶段上传这SNS

4 - Name your new p12 and Upload this to SNS in the Setup Stage

完成,这将工作!

--->它的怪异,亚马逊的SNS要求非签名的.p12替代结合的.p12(包括私钥)像其他平台,但是......去与亚马逊讨论...

---> Its weird that Amazon's SNS requires a NON-Signed .p12 instead of the Combined .p12 (including private key) like other platforms, but... Go Discuss with Amazon...

这篇关于iOS版通过亚马逊SNS和Unity APNS - 无法创建一个开发的iOS证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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