百度推送步骤分析:
1.申请证书
2.创建应用
3.配置应用
4.配置工程
5.注册百度云推送并处理回调
此文主要是申请证书过程
我们都是站在巨人的肩膀上才能看的更远,所以借鉴推送证书生成过程(其实就是自己比较懒抄袭别人的经验^_^),当然也整合当下新的界面
1. 登录开发者帐号,如果帐号的权限合适。我们会看到如下图:

2.选择identifiers--->APP IDs ---> 点击右上角添加


添加过程注意:
App ID Description下添加这个这个App ID的描述,如“My Test App”。
App ID Prefix下填写App的Bundle ID。不要带*号。
App Services下,勾选Push Notifications。(前提是要做推送)
3.添加完信息点击Continue,会看到刚创建的App Id的信息。如下图:

注意:如果再添加过程中忘记勾选Push Notifications,可以选中刚刚添加的app id会出现下图界面点击edit重新选中如下图:

4.申请推送证书(推送证书分为开发证书和生产证书。我们以生产证书为例。)过程如下图:




暂停到这里:
5.接下来我们需要在本地生成一个csr文件
打开钥匙串工具选择如下:

然后看到提示如下:

到此csr生成成功,接上边暂停continue

选择刚刚创建的csr文件,continue出现如下界面:

6.创建Provisioning Profile,点击左侧的Provisioning Profiles下的Distribution





到此证书的申请结束🔚
接下来创建并配置应用
网友评论