Distribute with iOS Build Tools

If you’re using a build server to prepare your beta builds, you can automate the process of sending out the latest version to testers:

  1. Add an Archive Post run script action using the following command:
${SOURCE_ROOT}/Crashlytics.framework/submit <API_KEY> <BUILD_SECRET> \
-emails TestEmail@fabric.io,AmazingTester@twitter.com \
-notesPath ~/Notes/ReleaseNotes.txt \
-groupAliases GroupAlias,GroupAlias2 \
-notifications YES
  1. To manually run the submit tool, execute this command after your build server has generated the .ipa:
/path/to/Crashlytics.framework/submit <API_KEY> <BUILD_SECRET> \
-ipaPath /path/to/my.ipa -emails TestEmail@fabric.io,AmazingTester@twitter.com \
-notesPath ~/Notes/ReleaseNotes.txt \
-groupAliases GroupAlias,GroupAlias2 \
-notifications YES

Emails, releases notes, groups, and notifications are all optional parameters, but if you want to automate your distributions through CI, you can add them as well. If you’re looking for your API key or build secret, select your org on the organizations settings page, and click on the API Key and Build Secret links right underneath your org’s name.