Closed igoris closed 8 years ago
Until this is fixed, I'll use this workaround:
$ deliver --ipa "release.ipa" --skip_screenshots --skip_metadata --force | tee deliver.log
$ grep deliver.log "ERROR" && exit 1
I'm running into the same issue with it exiting 0
. We use TeamCity so we added a failure condition looking for the string ERROR
@igoris did I understand correctly that deliver
doesn't proper fail with an exit code when the iTunes Transporter had an issue? Can you share the complete output when running deliver
? Is there any stack trace?
In my case the output looks like this:
[14:53:27]: [Transporter Error Output]: ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '167x167' pixels, in .png format ."
[14:53:27]: [Transporter]: DBG-X: The error code is: 1102
[14:53:27]: [Transporter]: INFO: Done performing authentication.
[14:53:27]: Transporter transfer failed.
[14:53:27]:
[14:53:27]: ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '167x167' pixels, in .png format ."
[14:53:27]: Return status of iTunes Transporter was 1: ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '167x167' pixels, in .png format ."
[14:53:27]: ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '167x167' pixels, in .png format ."
Return status of iTunes Transporter was 1: ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '167x167' pixels, in .png format ."
[14:53:27]: Password contains special characters, which may not be handled properly by iTMSTransporter. If you experience problems uploading to iTunes Connect, please consider changing your password to something with only alphanumeric characters.
[14:53:27]: Could not download/upload from iTunes Connect! It's probably related to your password or your internet connection.
[14:53:27]: Finished the upload to iTunes Connect
Perfect, thank you @danieljimenez
Thanks everyone, this will be fixed with the next release https://github.com/fastlane/deliver/pull/592 :+1:
This issue was migrated to https://github.com/fastlane/fastlane/issues/2131. Please post all further comments there.
fastlane
is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo :rocket:
I see the following in the log:
However,
echo $?
returns 0Instead, deliver should have non-zero return code to indicate an error.
deliver version 1.6.5 command is
deliver --ipa "release.ipa" --skip_screenshots --skip_metadata --force