iOS 开发证书创建
2017-03-08 本文已影响34人
0o冻僵的企鹅o0
要想在真机上调试,三样东西必不可少:bundle id,开发证书,配置文件。
不多说,直接开始。
第一步:创建App ID

1.选中上图左侧App IDs,然后点击右上角‘+’号。

2.给App ID填一个描述性的名字,不要使用特殊符号。

3.填写bundle id,如果要使用推送功能,则不能使用带有通配符‘*’的id;下一步;
4.点击Register注册id。
这样App ID就创建好了。
第二步:创建证书

1.点击cetificates下面的All,然后点击上图中右上角的‘+’号;

2.选中第一个选项;下一步;

3.这一步是教你如何创建CSR文件,非常简单,你可以按照上面途中说的步骤来。创建好之后我们继续;

4.选择你刚才创建好的CSR文件;继续

5.到这里推送证书就创建好了。
第三步:创建配置文件
1.找到Provisioning Profiles,点击All,会看到右上角有个‘+’号,(与创建证书类似);

2.勾选iOS App开发,下一步;

- 选择App ID,下一步

4.选择开发证书

5.勾选要用到的设备,继续

6.给配置文件命名,继续

7.到这里,配置文件就创建完成了。
最后,下载证书和配置文件,双击即可安装使用。
如果你要给别人使用,那么需要将安装的证书在你的钥匙串中以p12文件的格式导出,然后发给别的开发者即可。