fastlane: Could not upload binary to iTunes Connect

New Issue Checklist

Issue Description

uploading ipa file with gym fails - followed by this error:

Complete output when running fastlane, including the stack trace and command used

The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.

The iTMSTransporter Java app was not found at ‘/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/lib/itmstransporter-launcher.jar’.

If you’re using Xcode 6, please select the shell script executor by setting the environment variable FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPT=1

[!] Could not upload binary to iTunes Connect. Check out the error above

Configuration Files

Environment

  • Mac mini (Late 2014)
  • OS X 10.10.5
  • XCode 6.4

fastlane version (run fastlane -v): 1.81.0

Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? no

Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? no

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 19 (10 by maintainers)

Most upvoted comments

Hi @dockusan 👋

FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPT should be used as an environment variable. If you’re calling fastlane and you want to specify it, you can run:

FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPT=1 fastlane build_deploy_full

I have merged #4375 to make shell script execution the default choice if we detect that you’re using Xcode 6.x. That will go out in the next release! 🚀

Glad to hear you got it resolved @nAviram 👍

I’ve shipped fastlane_core 0.42.1 which contains the fix to handle Xcode 6.x automatically. 🚀

If you run gem update fastlane_core you should be able to pull that down, and then I believe it should work for you with no work-arounds required 🙌

Please let me know what you see!

Sure thing! looking forward to it… please update me when it’s done.

Actually, I’ve thought better of it 😃 This ticket is more clearly about the problem with Xcode 6, so I’ll use this ticket to post further updates on that situation. 👍