diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2020-04-14 17:46:22 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2020-04-14 18:03:46 +0200 |
| commit | c246370ba624e32a302aa9cb51977bc5c46bba83 (patch) | |
| tree | d3c87c54b0f7ea21d3a316cb9a0ca680c9b051a5 /ios | |
| parent | f5c437ac0cea32b81e36ab335d7348cc03ac9753 (diff) | |
| download | mullvadvpn-c246370ba624e32a302aa9cb51977bc5c46bba83.tar.xz mullvadvpn-c246370ba624e32a302aa9cb51977bc5c46bba83.zip | |
Update keychain related instructions
Diffstat (limited to 'ios')
| -rw-r--r-- | ios/BuildInstructions.md | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/ios/BuildInstructions.md b/ios/BuildInstructions.md index f7c0da466d..13f84867ce 100644 --- a/ios/BuildInstructions.md +++ b/ios/BuildInstructions.md @@ -135,20 +135,18 @@ environment variables: `IOS_APPLE_ID_PASSWORD` accepts a keychain reference in form of `@keychain:<KEYCHAIN_ITEM_NAME>`. -Use app specific password instead of the actual account password and save it to Keychain. The app -specific password can be created via AppStore Connect, and added to Keychain using the following -commands (note that `altool` will be authorized to access the saved password): +Use the app specific password instead of the actual account password and save it to Keychain. +The app specific password can be created via [Apple ID website] and added to Keychain using the +following command (note that `altool` will be authorized to access the saved password): ``` -ALTOOL_BIN=$(xcrun -find altool) - -security add-generic-password \ - -a <APPLE_ID_EMAIL> \ - -w <APP_SPECIFIC_PASSWORD> \ - -s <KEYCHAIN_ITEM_NAME> \ - -T "$ALTOOL_BIN" +xcrun altool --store-password-in-keychain-item <KEYCHAIN_ITEM_NAME> \ + -u <APPLE_ID_EMAIL> \ + -p "<APP_SPECIFIC_PASSWORD>" ``` +[Apple ID website]: https://appleid.apple.com/account/manage + # Automated build and deployment Build script does not bump the build number, so make sure to do that manually and commit to repo: @@ -172,6 +170,6 @@ security set-key-partition-list -S apple-tool:,apple: -s <KEYCHAIN> ``` where `<KEYCHAIN>` is the name of the target Keychain where the signing credentials are stored. -This guide does not use a separate Keychain store, so use then use `login.keychain-db` then. +This guide does not use a separate Keychain store, so use `login.keychain-db` then. Reference: https://docs.travis-ci.com/user/common-build-problems/#mac-macos-sierra-1012-code-signing-errors |
