Deploy an app automatically to testflight using travis ci.
- Copy the .travis.yml into your repo (replace app name, developer name and provisionin profile uuid)
- Create the folder "scripts/travis"
- Export the following things from the Keychain app
- "Apple Worldwide Developer Relations Certification Authority" into scripts/travis/apple.cer
- Your iPhone Distribution certificate into scripts/travis/dist.cer
- Your iPhone Distribution private key into scripts/travis/dist.p12 (choose a password)
- Execute
travis encrypt "KEY_PASSWORD=YOUR_KEY_PASSWORD" --add
- Execute
travis encrypt "TEAM_TOKEN=TESTFLIGHT_TEAM_TOKEN" --add
- Execute
travis encrypt "API_TOKEN=TESTFLIGHT_API_TOKEN" --add
- Copy add-key.sh, remove-key.sh and testflight.sh into scripts/travis
- Commit
I have forked this and updated it so it works on Travis-CI (We're using it here at Wrapp now). I have also updates the README, hopefully it's easier to get it up and running :)
You find my fork at:
https://gist.github.com/JagCesar/a6283bc2cb2f439b3a1d