参考之前的:
去给已有的企业开发者帐号的一个可用的App ID中,添加推送的服务
iOS Provisioning Profile的创建及Xcode的证书配置教程 – 极光推送开发 – JPush 开发文档
登录苹果开发者网站:
https://developer.apple.com/account/
进入找到APP ID
Push Notifications Configurable Apple Push Notification service SSL Certificates To configure push notifications for this iOS App ID, a Client SSL Certificate that allows your notification server to connect to the Apple Push Notification Service is required. Each iOS App ID requires its own Client SSL Certificate. Manage and generate your certificates below. |
About Creating a Certificate Signing Request (CSR) To manually generate a Certificate, you need a Certificate Signing Request (CSR) file from your Mac. To create a CSR file, follow the instructions below to create one using Keychain Access. Create a CSR file. In the Applications folder on your Mac, open the Utilities folder and launch Keychain Access. Within the Keychain Access drop down menu, select Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority. In the Certificate Information window, enter the following information: In the User Email Address field, enter your email address. In the Common Name field, create a name for your private key (e.g., John Doe Dev Key). The CA Email Address field should be left empty. In the "Request is" group, select the "Saved to disk" option. Click Continue within Keychain Access to complete the CSR generating process. |
之前已经有了CSR文件了:
继续去用已有CSR文件
Download, Install and Backup Download your certificate to your Mac, then double click the .cer file to install in Keychain Access. Make sure to save a backup copy of your private and public keys somewhere secure. Name: Apple Development iOS Push Services: com.qorosauto.QorosSalesApp Type: APNs Development iOS Expires: Jul 15, 2017 |
然后根据说明去:
下载对应的cer(Dev的PUSH的)证书文件
然后(双击)去安装到钥匙串(Keychain Access)中
(同时,记得,最好把自己的私有key,此处好像是这个CSR文件?,备份好到对应的安全的地方)
下载下来了:
双击去安装到钥匙串中:
然后右击:
Apple Development IOS Push Services: com.qorosauto.QorosSalesApp
去导出:
密码设置为:
然后会提示你:
钥匙串访问.app 想要从您的钥匙串中导出密钥
然后输入的是:
你的Mac笔记本的帐户的(登录的)密码
然后就导出的到p12文件了:
然后继续去Apple开发者后台创建Provisioning Profile
发现之前的已经显示无效了:
去编辑,但是好像感觉不对。
还是新建去吧
但是竟然还是:
类似于AdHoc一样,
还需要选择设备。。。
算了,放弃。。。
还是会到之前,显示无效的PP文件,去编辑:
从之前的:
Qorosauto_QorosSalesApp_crifanCertificateprofile
改为:
Qorosauto_QorosSalesApp_crifan_APS_Dev
[记录]去Xcode中使用企业版帐号建立的推送服务证书的Provisioning Profile文件
转载请注明:在路上 » [记录]给企业开发者帐号的App ID中添加推送功能