Onato
Onato

Reputation: 10221

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

Upvotes: 9

Views: 9184

Answers (3)

p1ckl3
p1ckl3

Reputation: 177

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]

Upvotes: 10

KrauseFx
KrauseFx

Reputation: 11751

You can use deliver testflight for a very easy upload of your ipa file to Apple TestFlight. The advantage of deliver over shenzhen is that deliver will actually enable the new build for testers to install.

Upvotes: 2

Elvin R.
Elvin R.

Reputation: 850

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.

Upvotes: 11

Related Questions