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
@kaspermunck I met an issue with @crazycabo ,and i follow your answer to do it.But it still failed.
./scripts/sign-and-upload.sh
/Users/travis/build.sh: line 41: ./scripts/sign-and-upload.sh: Permission denied
$ chmod +x scripts/add-key.sh
$ chmod +x scripts/remove-key.sh
and the certificate has been import success
1 certificate imported.
1 certificate imported.
1 identity imported.
I don't know how to do next , please help me !