I have a problem with the last step in my building script. I want to upload the app to the App Store Connect. I know that Bitrise has dedicated step, but I don’t want to use it right now. The scripts works locally on my machine, but not on Bitrise. Can anyone help?
INFO [2018-09-23 06:23:12.22]: Login to App Store Connect (uploader@XXX.com)
Loading session from '/Users/vagrant/.fastlane/spaceship/uploader@XXX.com/cookie'
Looking for App Store Connect Team with ID XXX
INFO [2018-09-23 06:23:13.43]: Login successful
DEBUG [2018-09-23 06:23:13.50]: App identifier (com.X.X)
INFO [2018-09-23 06:23:13.92]: Ready to upload new build to TestFlight (App: XXX)...
DEBUG [2018-09-23 06:23:13.92]: App Platform (ios)
INFO [2018-09-23 06:23:14.76]: Wrote XML data to '/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/d20180923-11242-9wnchs/924927935.itmsp'
INFO [2018-09-23 06:23:14.85]: Going to upload updated app to App Store Connect
INFO [2018-09-23 06:23:14.85]: This might take a few minutes. Please don't interrupt the script.
DEBUG [2018-09-23 06:23:15.01]: /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/java/bin/java -Djava.ext.dirs=/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/java/lib/ext -XX:NewSize=2m -Xms32m -Xmx1024m -Xms1024m -Djava.awt.headless=true -Dsun.net.http.retryPost=false -jar /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/lib/itmstransporter-launcher.jar -m upload -u uploader@XXX.com -p YourPassword -f /var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/d20180923-11242-9wnchs/924927935.itmsp -t Signiant -k 100000 -itc_provider [2018-09-23 06:22:41 PDT] <main> INFO: Transporter is searching for updated software components.[2018-09-23 06:22:41 PDT] <main> INFO: Transporter has detected that new software components exist; updating.[2018-09-23 06:22:41 PDT] <main> DEBUG: Analyzing remote bundle resource org.apache.httpcomponents.httpclient...[2018-09-23 06:22:42 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:42 PDT] <main> DEBUG: Analyzing remote bundle resource org.apache.httpcomponents.httpcore...[2018-09-23 06:22:42 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:42 PDT] <main> DEBUG: Analyzing remote bundle resource org.apache.commons.cli...[2018-09-23 06:22:43 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:43 PDT] <main> DEBUG: Analyzing remote bundle resource org.apache.commons.codec...[2018-09-23 06:22:43 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:43 PDT] <main> DEBUG: Analyzing remote bundle resource org.apache.commons.text...[2018-09-23 06:22:43 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:43 PDT] <main> DEBUG: Analyzing remote bundle resource org.apache.felix.main...[2018-09-23 06:22:43 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:43 PDT] <main> DEBUG: Analyzing remote bundle resource org.apache.felix.bundlerepository...[2018-09-23 06:22:44 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:44 PDT] <main> DEBUG: Analyzing remote bundle resource org.apache.felix.configadmin...[2018-09-23 06:22:44 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:44 PDT] <main> DEBUG: Analyzing remote bundle resource org.apache.felix.scr...[2018-09-23 06:22:44 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:44 PDT] <main> DEBUG: Analyzing remote bundle resource org.apache.tika.core...[2018-09-23 06:22:44 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:44 PDT] <main> DEBUG: Analyzing remote bundle resource org.apache.tika.parsers...[2018-09-23 06:22:45 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:45 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.cie.rio.servicetrace.service-trace...[2018-09-23 06:22:45 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:45 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.its.epubtoolkit...[2018-09-23 06:22:45 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:45 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.transporter.commlink...[2018-09-23 06:22:45 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:45 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.transporter.itmstransporter...[2018-09-23 06:22:45 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:45 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.transporter.mediatoolkit...[2018-09-23 06:22:50 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:50 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.transporter.resources...[2018-09-23 06:22:50 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:50 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.transporter.updater...[2018-09-23 06:22:50 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:50 PDT] <main> DEBUG: Analyzing remote bundle resource com.sshtools.j2ssh...[2018-09-23 06:22:50 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:50 PDT] <main> DEBUG: Analyzing remote bundle resource com.webobjects.JavaFoundation...[2018-09-23 06:22:51 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:51 PDT] <main> DEBUG: Analyzing remote bundle resource org.easymock...[2018-09-23 06:22:51 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:51 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.its.epubcheck-runner...[2018-09-23 06:22:53 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:53 PDT] <main> DEBUG: Analyzing remote bundle resource org.jsr-305...[2018-09-23 06:22:53 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:53 PDT] <main> DEBUG: Analyzing remote bundle resource com.google.guava...[2018-09-23 06:22:53 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:53 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.transporter.api...[2018-09-23 06:22:53 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:22:53 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.transporter.asperasupport...[2018-09-23 06:23:00 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:00 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.transporter.jaxen-jdom...[2018-09-23 06:23:01 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:01 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.transporter.core...[2018-09-23 06:23:01 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:01 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.transporter.launcher-util...[2018-09-23 06:23:01 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:01 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.transporter.softwaresupport...[2018-09-23 06:23:01 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:01 PDT] <main> DEBUG: Analyzing remote bundle resource com.apple.transporter.starter...[2018-09-23 06:23:01 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:01 PDT] <main> DEBUG: Analyzing remote bundle resource jfree.jcommon...[2018-09-23 06:23:01 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:01 PDT] <main> DEBUG: Analyzing remote bundle resource org.bitbucket.b_c.jose4j...[2018-09-23 06:23:02 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:02 PDT] <main> DEBUG: Analyzing remote bundle resource json...[2018-09-23 06:23:02 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:02 PDT] <main> DEBUG: Analyzing remote bundle resource org.objenesis...[2018-09-23 06:23:02 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:02 PDT] <main> DEBUG: Analyzing remote bundle resource com.sun.xml.bind.jaxb-core...[2018-09-23 06:23:02 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:02 PDT] <main> DEBUG: Analyzing remote bundle resource com.sun.xml.bind.jaxb-impl...[2018-09-23 06:23:02 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:02 PDT] <main> DEBUG: Analyzing remote bundle resource org.springframework.spring-core...[2018-09-23 06:23:03 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:03 PDT] <main> DEBUG: Analyzing remote bundle resource org.eclipse.osgi...[2018-09-23 06:23:05 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:05 PDT] <main> DEBUG: Analyzing remote bundle resource org.osgi.impl.bundle.repoindex.lib...[2018-09-23 06:23:05 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:05 PDT] <main> DEBUG: Analyzing remote bundle resource rome.rome...[2018-09-23 06:23:05 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:05 PDT] <main> DEBUG: Analyzing remote bundle resource slf4j.api...[2018-09-23 06:23:05 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:05 PDT] <main> DEBUG: Analyzing remote bundle resource slf4j.jdk14...[2018-09-23 06:23:05 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:05 PDT] <main> DEBUG: Analyzing remote bundle resource slf4j.log4j12...[2018-09-23 06:23:05 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:05 PDT] <main> DEBUG: Analyzing remote bundle resource com.github.oxo42.stateless4j...[2018-09-23 06:23:05 PDT] <main> DEBUG: ... updated bundle successfully retrieved.[2018-09-23 06:23:05 PDT] <main> INFO: Transporter has been successfully updated. The updated components will be available the next time Transporter runs.TotaljobsGroup 2>&1
WARN [2018-09-23 06:23:15.05]: [iTMSTransporter] sh: main: No such file or directory
WARN [2018-09-23 06:23:15.05]: [iTMSTransporter] sh: main: No such file or directory
INFO [2018-09-23 06:23:15.05]: iTunes Transporter output above ^
ERROR [2018-09-23 06:23:15.05]: The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.