Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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...)

like image 473
Onato Avatar asked Sep 23 '14 14:09

Onato


2 Answers

Try using Shenzhen with itunesconnect option:

$ ipa distribute:itunesconnect -a [email protected] -p myitunesconnectpassword --upload

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

like image 154
Elvin R. Avatar answered Nov 16 '22 03:11

Elvin R.


or you can use altool : /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool

Usage:

altool --validate-app -f file -u username [-p password]
altool --upload-app -f file -u username [-p password]
like image 37
p1ckl3 Avatar answered Nov 16 '22 02:11

p1ckl3