Developer ID Application证书制作
发布App Store外也就是挂官网上的安装包,需要下面两个证书,一个是用来代码签名的,一个是用来安装包签名的。缺一不可。

啥都不说,上图。。。。













Mac证书说明


简单说明下(摘自Mac App 发布的最后 1km):
Developer Certificate
Mac Development:这个只用来开发,Debug,不是正式发布的版本
Production Certificate
Developer ID Application:这个用于开发者使用开发者帐号签名,导出一个线下发布版本的.app文件,脱离了苹果的Mac App Store。
Developer ID Installer:用于开发者打包,同时加上开发者帐号签名,打包工具在下面介绍。
Mac App Distribution:这个用于Xcode自己把.app文件上传到Mac App Store
Mac Installer Distribution:这个没用过,但可以肯定的,也是上传Mac App Store用的
Mac App Store
Developer ID
我们主要需要的就是「Developer ID Application」这个类型的证书,「Mac Development」只是用于开发的,而前者可以供分发,也就是签名后,别人下载安装,就是来自「被认证的开发者」的应用啦。
如果是在一个 Team 中,不是个人独立开发者,那么这个「Developer ID Application」证书的申请你是没有权限的,就算你们 Team 的 Agent 设置你为 admin(管理员),你还是没有权限的,因为一个「Developer ID Application」只有一个 Team 的 agent(owner) 才能申请,你需要做的是利用你 Mac 上的钥匙串工具(具体怎么做,google 下就可以了),生成「CertificateSigningRequest」(简称 CSR),然后发给你的 team agent,让他帮你生成证书,发回给你,你再安装到自己机子上,搞定。
你可以在终端调用security find-identity -p codesigning -v来看一下你可用的代码签名证书,其中那个Developer ID Application开头的就是我们要的。