Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Demonstrate how to deploy an iOS app automatically to testflight using CircleCI

Notifications You must be signed in to change notification settings

thorikawa/CircleCI-iOS-TestFlight-Sample

Repository files navigation

CircleCI-iOS-TestFlight-Sample

Demonstrate how to deploy an iOS app automatically to testflight using CircleCI (as of Jan 7, 2015).

Working Demo

https://circleci.com/gh/infolens/CircleCI-iOS-TestFlight-Sample/11

How to set up your project

  1. Since CircleCI iOS build is still beta, you need to contact CircleCI guys to enable iOS build. Please see https://circleci.com/docs/ios for detail.
  2. Copy the circle.yml into your repo (replace xcode scheme, xcode workspace, app name, developer name, provisionin profile uuid and testflight distribution list)
  3. Create the folder "scripts/"
  4. Export the following things from the Keychain app
  5. "Apple Worldwide Developer Relations Certification Authority" into scripts/apple.cer
  6. Your iPhone Distribution certificate into scripts/dist.cer
  7. Your iPhone Distribution private key into scripts/dist.p12 (choose a password)
  8. Copy your provisioning profiles into scripts/profile/
  9. Add the following settings in "Environment Variable" menu on CircleCI
  10. KEY_PASSWORD=YOUR_KEY_PASSWORD
  11. TEAM_TOKEN=TESTFLIGHT_TEAM_TOKEN
  12. API_TOKEN=TESTFLIGHT_API_TOKEN
  13. Copy add-key.sh, remove-key.sh and testflight.sh into scripts/

Acknowledgement

I created this sample in reference to Johannes's work for Travis CI. Great work Johannes!

License

MIT License except for scripts/dist.cer, scripts/dist.cer, scripts/apple.cer and scripts/profile folder.

About

Demonstrate how to deploy an iOS app automatically to testflight using CircleCI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published