推送证书《1.开发环境 2.发布环境》
1.测试 或发布证书
2.appID 名字要与bundleID相同
要勾选上APNS <APNS是远程推送的缩写>
bundleID:com.公司名.工程名 -> 为了区分其它app -> 是app唯一的标识符(推送、发布都是根据bundleID来查询是哪一个app)
3.在appID中点击创建一个推送证书
4.生成一个mobileprovision
如果后台需要p12、pem文件
p12在钥匙串直接导出
pem需要命令合成openssl pkcs12 -in cert.p12 -out cert.pem -nodes
使用的时候注意事项
1、选择正确的mobileprovision(appID)
2、注意bundleID是否与appID相同(mobileprovision所在证书的appID)
一、登录开发者账号

4740469E5B12924E3802613FB8E4FB6A.jpg
二

FCDADCDEE15DB341C0957176E920F133.jpg
三

2C9B493DE34805887E13C18C8D679A3A.jpg
四

9271327FD07AD59EEF0183F4F4EFD367.jpg
五

DE3EBF13FFC952728BBD5D3CF2E07309.jpg
六

99D81F3763F6B2960C3AA4DBDB0FCCDF.jpg
七、 勾选推送通知选项之后 进入下一个页面

054A2C2B9F9B6109722FE39B09B73CDE.jpg
八、注册appID

463C69429BA2CEB0E4A9FB5CA85DBD8B.jpg
九、

0BD48549032EC02246AF83A27D739DF5.jpg
十、

2F3E49FED41A5C7FE5137710AFD84EC8.jpg
十一、

351F151E18D4CE2790F4CDD2EB223022.jpg
十二、

BDE87B2346DF7BD1F14E8EF238AD46E6.jpg
十三

3E597281BB9606EA5CD322FB455F902E.jpg
十四

71AFA319902DF2C89054C81F260FFC21.jpg
十五

697741A003FD8F9813B336F49C68E66C.jpg
十六

EA30F4F5FDD9140F6D5206CE4A535C14.jpg
十七 如果后台需要导入p12文件

9222EEFB-DA6B-4894-A56B-33E71657288E.png
十八

DB1FB94A4E401CFB0144E4363344DA55.jpg
十九

4A2F454D7FF88468F352F7FA7EE00F64.jpg
二十

C6705961B8D620D41CB2622B074D993B.jpg
二一

C92BA725BB6547FF38CCB045C8B99ED0.jpg
二二

9E68EEE7DFE9170D80292CE426D87491.jpg
二三

5D4D75AFDEDCAEDD4944F5A11E78D824.jpg
二四

CEEA3E7C5771471395C68A346785FEAB.jpg
二五

ADDE46609B2CF63BEF867EE0266145F4.jpg
二六

5259F2148FF10870FB70E24CFD4D252D.jpg
二七

2F2BB8D655EB82213BBF1E0F7C264379.jpg
二八

C061C8651ED0F8DA34C4B09CB7010DC6.jpg
二九

871A1EBD84CBA3C005954D7CC768E36D.jpg
三十

B454C3EF261ECAAFF7713DE498AA58F0.jpg
三一

EE1AE66C82DF9A4B80FBF9050515B24D.jpg
三二

0450AF2BBE04B41927973DA6A42AE67B.jpg
三三

9EDC828D3C9979B820B3663BE9F75785.jpg
网友评论