iOS Swift如何创建.p8文件? [英] iOS swift How to create .p8 file?

查看:891
本文介绍了iOS Swift如何创建.p8文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用

推荐答案

请按照以下步骤操作:

生成APNs身份验证密钥
在开发人员中心中打开"APNS身份验证密钥"页面,然后单击+按钮以创建新的 APNs身份验证密钥.

在下一页中,选择"Apple Push Notification Authentication Key(沙盒和生产)",然后单击页面底部的继续".

In the next page, select Apple Push Notification Authentication Key (Sandbox & Production) and click Continue at the bottom of the page.

Apple随后将生成一个包含您的APNs身份验证密钥的.p8密钥文件.

Apple will then generate a .p8 key file containing your APNs Auth Key.

.p8密钥文件下载到您的计算机并保存以备后用.另外,请务必在某处写下密钥ID,因为稍后在连接到APN时将需要它.

Download the .p8 key file to your computer and save it for later. Also, be sure to write down the Key ID somewhere, as you'll need it later when connecting to APNs.

发送推送通知

参考: APNS(配置推送通知)

重要:将您的密钥备份保存在安全的地方.它不会再次显示,以后也无法检索.

Important: Save a back up of your key in a secure place. It will not be presented again and cannot be retrieved later.

这篇关于iOS Swift如何创建.p8文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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