Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatic IPA uploading with Jenkins and altool fails with 'Transporter not found' error

I'm using Jenkins and altool to validate an iOS package and upload it to my iTunes account automatically. While the validation works fine and I receive no error, the uploading doesn't work.

'/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Versions/A/Support/altool' --upload-app -f my_application.ipa -u **** -p '****'

And as a result I'm getting the following error:

altool[35164:1584273] Error: Exception while launching iTunesTransporter: Transporter not found at path: /usr/local/itms/bin/iTMSTransporter. You should reinstall the application. altool[35164:1584271] Error: Errors uploading

If I take the same package and try to upload it using Application Loader everything works fine.

like image 684
Alexey Strakh Avatar asked Nov 02 '15 13:11

Alexey Strakh


1 Answers

Try recreating the /usr/local/itms symlink to point to the proper subdirectory of Xcode.app. e.g.something like this for Xcode 7.1:

ln -s /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms /usr/local/itms

This may be necessary after Xcode gets upgraded.

like image 61
Carlos Macasaet Avatar answered Oct 22 '22 07:10

Carlos Macasaet