Search code examples
iosjenkinsapp-store-connecttestflight

iTunes Connect, TestFlight and Jenkins


I am trying to understand how I can implement my current workflow using Apples TestFlight integration into iTunes Connect.

At present I have a Jenkins continuous integration server that compiles and uploads a new build to TestFlight every time someone pushes into github.

From what I can see, there is no official command line API for iTunes Connect for uploading new builds.

I can't afford to manually compile and upload 10 apps every time I make a code change.

How can I implement this workflow with the existing tools and iTunes Connect? (Jenkins, Bots, xcodebuild, application loader, etc...)


Solution

  • Try using Shenzhen with itunesconnect option:

    $ ipa distribute:itunesconnect -a me@email.com -p myitunesconnectpassword --upload
    

    In case of Jenkins it would be "Execute Shell" type of Build step.