ios – 初始创建后无法下载Apple Developer密钥

在我的Apple开发者帐户中,我创建了一个用于在所有应用程序中使用APN的密钥.在创建时,它允许我在完成后下载它.之后,“下载”按钮显示为灰色,我无法再次下载.据推测这是设计的.

任何人都可以告诉我为什么它不允许像证书/配置文件那样第二次下载?

解决方法

您无法重新下载 IOS推送通知身份验证密钥. Apple和您保留并保护的私钥仅保留公钥.

请参阅文档部分Provider-to-APNs Connection Trust.

Token-based provider connection trust: A provider using the
HTTP/2-based API can use JSON web tokens (JWT) to provide validation
credentials for connection with APNs. In this scheme,you provision a
public key to be retained by Apple,and a private key which you retain
and protect.

创建Auth Key时也可以看到警告.

Download and Back Up After downloading your key,it cannot be
re-downloaded as the server copy is removed
. If you are not prepared
to download your key at this time,click Done and download it at a
later time. Be sure to save a backup of your key in a secure place.

相关文章

UITabBarController 是 iOS 中用于管理和显示选项卡界面的一...
UITableView的重用机制避免了频繁创建和销毁单元格的开销,使...
Objective-C中,类的实例变量(instance variables)和属性(...
从内存管理的角度来看,block可以作为方法的传入参数是因为b...
WKWebView 是 iOS 开发中用于显示网页内容的组件,它是在 iO...
OC中常用的多线程编程技术: 1. NSThread NSThread是Objecti...