bumaociyuan / fastlane-match-import

手动加密 match 证书

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

把现有的证书迁移到match

match 官方文档推荐我们首先把所有的已有证书删除,已经上线的项目不太可能这样做,这个时候就需要手动加密


# 手动加密,把证书导出 cer 和 p12,把 mobileprovision 文件
# cer 文件用 cert_id_query.rb 查询 id 并命名
# mobileprovision 文件用 bundle_id 命名
# 放在 origins 文件夹里面,如下

origins
├── certs
│   ├── development
│   │   ├── foobar123.cer
│   │   └── foobar123.p12
│   └── distribution
│       ├── barfoo321.cer
│       └── barfoo321.p12
└── profiles
    ├── development
    │   └── com.foo.bar.mobileprovision
    └── distribution
        └── com.foo.bar.mobileprovision


# 准备完毕
$ ruby encrypt_all.rb
# 会生成加密后的 certs 和 profiles 文件夹

参考

About

手动加密 match 证书


Languages

Language:Ruby 100.0%