-
Notifications
You must be signed in to change notification settings - Fork 2
code_sign
Piotr Sękara edited this page Oct 28, 2020
·
2 revisions
Used for code signing.
We're using GPG to store project certificates and provisioning profiles safely in the repository.
- First of all, please make sure that you have
gpginstalled on your machine. - Next thing will be to export provisioning profiles and certificates. Please note that certificates should be locked with
passphrase(the same that you will provide as a parameter). - Create an
ziparchive with exported profiles and certificates. - Encode the archive (
gpg --symmetric --cipher-algo AES256 {file_name}.zip). Please use the samepassphrasethat you've used to lock certificates. - Save file in repository.
You can still use sigh and match from Fastlane by action step.
| Name | Description | Required | Type | Default |
|---|---|---|---|---|
| path | Path for the *.zip.gpg file. |
True | String | - |
| passphrase | Passphrase to decode given file and unlock exported certificates. | True | String | - |
| keychain_name | Define keychain which will be used to import certificates and install provisioning profiles | False | String | highway.keychain-db |
| keychain_password | Password for the keychain. | False | String | Provided passphrase will be used. |
bootstrap:
default:
- code_sign:
path: "certs.zip.gpg"
passphrase: "1qazxsw2"
keychain_name: "login.keychain-db"
This wiki and the Highway README document contains a lot of information, please take your time and read these instructions carefully.