- Download the
cli.shand move it into ascripts/directory and executechmod 755 scripts/cli.sh, this will make the script executable. - Export your
iOS Distributionprivate key from your Keychain into thescripts/folder and name itios_distribution.p12make sure to note down the password as we will need it later. It is highly recommended to give it a very strong password. - Download your Distribution provisioning profile from the Member Center
- Rename the provisioning profile to
Release.mobilprovision - At the top of the script you may need to adjust a few values:
SCHEME="" # Your scheme