fastlane: Unable to upload to itunes connect using deliver

New Issue Checklist

Issue Description

Deliver step of our deployment step is failing during the create new version step. Previous build and push to test flight was successful, and I can see the version I’m trying to deploy listed under All Builds/Activity in itunes connect.

When I try to manually create a new version in itunes connect I get an error also - though my user in itunes connect has less permissions than the user configured to run fastlane.

I’ve tried various combinations of arguments to deliver in the deploy lane, such as:

  • submit_for_review: true/false
  • automatic_release: true/false
  • force: true/false
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

Captured Output

Command Used: ios deploy

Output/Log

Successfully loaded Appfile at path '/Users/josh/dev/Kogan.com-iOS/fastlane/Appfile'
- app_identifier: 'com.kogan.Kogan'
- apple_id: 'ouradmin+iosdev@domain.com.au'
- team_id: '6263T7DCFN'
-------

+---------+--------------------------------------+
|  Detected Values from './fastlane/Matchfile'   |
+---------+--------------------------------------+
| git_url | git@github.com:kogan/SCRUBBED        |
|         | .git                                 |
+---------+--------------------------------------+


+-----------------------+--------------------------------------+
|                   Summary for match 2.50.1                   |
+-----------------------+--------------------------------------+
| app_identifier        | com.kogan.Kogan.Kogan-Today          |
| type                  | appstore                             |
| git_url               | git@github.com:kogan/SCRUBBED        |
|                       | .git                                 |
| git_branch            | master                               |
| username              | ouradmin+iosdev@domain.com.au        |
| keychain_name         | login.keychain                       |
| readonly              | false                                |
| team_id               | 6263T7DCFN                           |
| verbose               | false                                |
| force                 | false                                |
| skip_confirmation     | false                                |
| shallow_clone         | false                                |
| clone_branch_directly | false                                |
| force_for_new_devices | false                                |
| skip_docs             | false                                |
| platform              | ios                                  |
+-----------------------+--------------------------------------+


+-------------------+-----------------------------------------------------+
|                          Installed Certificate                          |
+-------------------+-----------------------------------------------------+
| User ID           | 6263T7DCFN                                          |
| Common Name       | iPhone Distribution: KOGAN.COM PTY LTD (6263T7DCFN) |
| Organisation Unit | 6263T7DCFN                                          |
| Organisation      | KOGAN.COM PTY LTD                                   |
| Country           | US                                                  |
| Start Datetime    | Sep  2 06:46:40 2016 GMT                            |
| End Datetime      | Sep  2 06:46:40 2017 GMT                            |
+-------------------+-----------------------------------------------------+


+---------------------+------------------------+------------------------+
|                    Installed Provisioning Profile                     |
+---------------------+------------------------+------------------------+
| Parameter           | Environment Variable   | Value                  |
+---------------------+------------------------+------------------------+
| App Identifier      |                        | com.kogan.Kogan.Kogan  |
|                     |                        | -Today                 |
| Type                |                        | appstore               |
| Platform            |                        | ios                    |
| Profile UUID        | sigh_com.kogan.Kogan.  | ad2ed03d-7157-493c-a8  |
|                     | Kogan-Today_appstore   | 08-680b0710332f        |
| Profile Name        | sigh_com.kogan.Kogan.  | match AppStore         |
|                     | Kogan-Today_appstore_  | com.kogan.Kogan.Kogan  |
|                     | profile-name           | -Today                 |
| Profile Path        | sigh_com.kogan.Kogan.  | /Users/josh/Library/M  |
|                     | Kogan-Today_appstore_  | obileDevice/Provision  |
|                     | profile-path           | ing                    |
|                     |                        | Profiles/ad2ed03d-715  |
|                     |                        | 7-493c-a808-680b07103  |
|                     |                        | 32f.mobileprovision    |
| Development Team ID | sigh_com.kogan.Kogan.  | 6263T7DCFN             |
|                     | Kogan-Today_appstore_  |                        |
|                     | team-id                |                        |
+---------------------+------------------------+------------------------+


+---------+--------------------------------------+
|  Detected Values from './fastlane/Matchfile'   |
+---------+--------------------------------------+
| git_url | git@github.com:kogan/SCRUBBED        |
|         | git                                  |
+---------+--------------------------------------+


+-----------------------+--------------------------------------+
|                   Summary for match 2.50.1                   |
+-----------------------+--------------------------------------+
| app_identifier        | com.kogan.Kogan                      |
| type                  | appstore                             |
| git_url               | git@github.com:kogan/SCRUBBED        |
|                       | .git                                 |
| git_branch            | master                               |
| username              | ouradmin+iosdev@domain.com.au        |
| keychain_name         | login.keychain                       |
| readonly              | false                                |
| team_id               | 6263T7DCFN                           |
| verbose               | false                                |
| force                 | false                                |
| skip_confirmation     | false                                |
| shallow_clone         | false                                |
| clone_branch_directly | false                                |
| force_for_new_devices | false                                |
| skip_docs             | false                                |
| platform              | ios                                  |
+-----------------------+--------------------------------------+


+-------------------+-----------------------------------------------------+
|                          Installed Certificate                          |
+-------------------+-----------------------------------------------------+
| User ID           | 6263T7DCFN                                          |
| Common Name       | iPhone Distribution: KOGAN.COM PTY LTD (6263T7DCFN) |
| Organisation Unit | 6263T7DCFN                                          |
| Organisation      | KOGAN.COM PTY LTD                                   |
| Country           | US                                                  |
| Start Datetime    | Sep  2 06:46:40 2016 GMT                            |
| End Datetime      | Sep  2 06:46:40 2017 GMT                            |
+-------------------+-----------------------------------------------------+


+---------------------+------------------------+------------------------+
|                    Installed Provisioning Profile                     |
+---------------------+------------------------+------------------------+
| Parameter           | Environment Variable   | Value                  |
+---------------------+------------------------+------------------------+
| App Identifier      |                        | com.kogan.Kogan        |
| Type                |                        | appstore               |
| Platform            |                        | ios                    |
| Profile UUID        | sigh_com.kogan.Kogan_  | cde0503a-40d5-440a-8d  |
|                     | appstore               | 70-24ba5c918b20        |
| Profile Name        | sigh_com.kogan.Kogan_  | match AppStore         |
|                     | appstore_profile-name  | com.kogan.Kogan        |
| Profile Path        | sigh_com.kogan.Kogan_  | /Users/josh/Library/M  |
|                     | appstore_profile-path  | obileDevice/Provision  |
|                     |                        | ing                    |
|                     |                        | Profiles/cde0503a-40d  |
|                     |                        | 5-440a-8d70-24ba5c918  |
|                     |                        | b20.mobileprovision    |
| Development Team ID | sigh_com.kogan.Kogan_  | 6263T7DCFN             |
|                     | appstore_team-id       |                        |
+---------------------+------------------------+------------------------+


+---------------------+---------------------+
| Detected Values from './fastlane/Gymfile' |
+---------------------+---------------------+
| scheme              | Kogan               |
| output_directory    | ./build             |
+---------------------+---------------------+


+--------------------------------------+--------------------------------------+
|                           Summary for gym 2.50.1                            |
+--------------------------------------+--------------------------------------+
| export_method                        | app-store                            |
| export_options.provisioningProfiles  | match AppStore                       |
| .com.kogan.Kogan.Kogan-Today         | com.kogan.Kogan.Kogan-Today          |
| export_options.provisioningProfiles  | match AppStore com.kogan.Kogan       |
| .com.kogan.Kogan                     |                                      |
| scheme                               | Kogan                                |
| output_directory                     | ./build                              |
| workspace                            | ./Kogan.xcworkspace                  |
| destination                          | generic/platform=iOS                 |
| output_name                          | Kogan                                |
| build_path                           | /Users/josh/Library/Developer/Xcode  |
|                                      | /Archives/2017-08-03                 |
| clean                                | false                                |
| silent                               | false                                |
| skip_package_ipa                     | false                                |
| buildlog_path                        | ~/Library/Logs/gym                   |
| xcode_path                           | /Applications/Xcode.app              |
+--------------------------------------+--------------------------------------+

+--------------------------------------+----------------------+
|                   Generated Build Command                   |
+--------------------------------------+----------------------+
| Option                               | Value                |
+--------------------------------------+----------------------+
| set -o pipefail &&                   |                      |
| xcodebuild                           |                      |
| -workspace ./Kogan.xcworkspace       |                      |
| -scheme Kogan                        |                      |
| -destination                         | generic/platform=iOS |
| -archivePath                         |                      |
| /Users/josh/Library/Developer/Xcode  |                      |
| /Archives/2017-08-03/Kogan\          |                      |
| 2017-08-03\ 16.19.07.xcarchive       |                      |
| archive                              |                      |
| | tee                                |                      |
| /Users/josh/Library/Logs/gym/Kogan-  |                      |
| Kogan.log                            |                      |
| | xcpretty                           |                      |
+--------------------------------------+----------------------+
+--------------------------------------+--------------------------------------+
|                          Generated Package Command                          |
+--------------------------------------+--------------------------------------+
| Option                               | Value                                |
+--------------------------------------+--------------------------------------+
| /usr/bin/xcrun                       |                                      |
| /usr/local/lib/ruby/gems/2.4.0/gems  |                                      |
| /fastlane-2.50.1/gym/lib/assets/wra  |                                      |
| p_xcodebuild/xcbuild-safe.sh         |                                      |
| -exportArchive                       |                                      |
| -exportOptionsPlist                  | /var/folders/b7/q66s7jx93sd_c598f88  |
|                                      | wt1rm0000gn/T/gym_config20170803-97  |
|                                      | 50-lvs1y7.plist                      |
| -archivePath                         |                                      |
| /Users/josh/Library/Developer/Xcode  |                                      |
| /Archives/2017-08-03/Kogan\          |                                      |
| 2017-08-03\ 16.19.07.xcarchive       |                                      |
| -exportPath                          | /var/folders/b7/q66s7jx93sd_c598f88  |
|                                      | wt1rm0000gn/T/gym_output20170803-97  |
|                                      | 50-2t83h5                            |
+--------------------------------------+--------------------------------------+


+------------------------+--------------------------------------+
|         Detected Values from './fastlane/Deliverfile'         |
+------------------------+--------------------------------------+
| submission_information | {:add_id_info_uses_idfa=>true,       |
|                        | :add_id_info_serves_ads=>false,      |
|                        | :add_id_info_tracks_action=>false,   |
|                        | :add_id_info_tracks_install=>true,   |
|                        | :add_id_info_limits_tracking=>true,  |
|                        | :export_compliance_uses_encryption=  |
|                        | >false,                              |
|                        | :export_compliance_encryption_updat  |
|                        | ed=>false}                           |
| copyright              | 2017 Kogan.com Pty Ltd               |
| release_notes          | {"en-AU"=>"- Updated warranty and    |
|                        | extended care messaging.\n- Fixed    |
|                        | \"collections\" banners. No more     |
|                        | launching some pages in Safari!\n-   |
|                        | Fixed thumbnails in notification     |
|                        | screen. Meaning we actually show     |
|                        | them again.\n- Updated use of APIs   |
|                        | according to deprecation policies    |
|                        | and best practises."}                |
| app_review_information | {:first_name=>"Goran",               |
|                        | :last_name=>"Stefkovski",            |
|                        | :phone_number=>"+61412664663",       |
|                        | :email_address=>"goran@kogan.com.au  |
|                        | ", :notes=>"- Updated warranty and   |
|                        | extended care messaging.\n- Fixed    |
|                        | \"collections\" banners. No more     |
|                        | launching some pages in Safari!\n-   |
|                        | Fixed thumbnails in notification     |
|                        | screen. Meaning we actually show     |
|                        | them again.\n- Updated use of APIs   |
|                        | according to deprecation policies    |
|                        | and best practises."}                |
+------------------------+--------------------------------------+

Looking for iTunes Connect Team with ID 112500834

+--------------------------------------+--------------------------------------+
|                           deliver 2.50.1 Summary                            |
+--------------------------------------+--------------------------------------+
| force                                | true                                 |
| submission_information.add_id_info_  | true                                 |
| uses_idfa                            |                                      |
| submission_information.add_id_info_  | false                                |
| serves_ads                           |                                      |
| submission_information.add_id_info_  | false                                |
| tracks_action                        |                                      |
| submission_information.add_id_info_  | true                                 |
| tracks_install                       |                                      |
| submission_information.add_id_info_  | true                                 |
| limits_tracking                      |                                      |
| submission_information.export_compl  | false                                |
| iance_uses_encryption                |                                      |
| submission_information.export_compl  | false                                |
| iance_encryption_updated             |                                      |
| copyright                            | 2017 Kogan.com Pty Ltd               |
| release_notes.en-AU                  | - Updated warranty and extended      |
|                                      | care messaging. - Fixed              |
|                                      | "collections" banners. No more       |
|                                      | launching some pages in Safari! -    |
|                                      | Fixed thumbnails in notification     |
|                                      | screen. Meaning we actually show     |
|                                      | them again. - Updated use of APIs    |
|                                      | according to deprecation policies    |
|                                      | and best practises.                  |
| app_review_information.first_name    | Goran                                |
| app_review_information.last_name     | Stefkovski                           |
| app_review_information.phone_number  | +61412664663                         |
| app_review_information.email_addres  | goran@kogan.com.au                   |
| s                                    |                                      |
| app_review_information.notes         | - Updated warranty and extended      |
|                                      | care messaging. - Fixed              |
|                                      | "collections" banners. No more       |
|                                      | launching some pages in Safari! -    |
|                                      | Fixed thumbnails in notification     |
|                                      | screen. Meaning we actually show     |
|                                      | them again. - Updated use of APIs    |
|                                      | according to deprecation policies    |
|                                      | and best practises.                  |
| ipa                                  | /Users/josh/dev/Kogan.com-iOS/build  |
|                                      | /Kogan.ipa                           |
| screenshots_path                     | ./fastlane/screenshots               |
| metadata_path                        | ./fastlane/metadata                  |
| app_version                          | 1.5.0                                |
| username                             | ouradmin+iosdev@domain.com.au        |
| app_identifier                       | com.kogan.Kogan                      |
| edit_live                            | false                                |
| platform                             | ios                                  |
| skip_binary_upload                   | false                                |
| skip_screenshots                     | false                                |
| skip_metadata                        | false                                |
| skip_app_version_update              | false                                |
| submit_for_review                    | false                                |
| automatic_release                    | false                                |
| dev_portal_team_id                   | 6263T7DCFN                           |
| overwrite_screenshots                | false                                |
| run_precheck_before_submit           | true                                 |
| precheck_default_rule_level          | warn                                 |
+--------------------------------------+--------------------------------------+


+------+------------------------+-------------+
|              fastlane summary               |
+------+------------------------+-------------+
| Step | Action                 | Time (in s) |
+------+------------------------+-------------+
| 1    | Verifying required     | 0           |
|      | fastlane version       |             |
| 2    | default_platform       | 0           |
| 3    | ensure_git_status_cle  | 0           |
|      | an                     |             |
| 4    | match                  | 9           |
| 5    | match                  | 10          |
| 6    | gym                    | 82          |
| πŸ’₯   | deliver                | 9           |
+------+------------------------+-------------+


Looking for related GitHub issues on fastlane/fastlane...
Search query: {"data"=>nil, "messages"=>{"warn"=>nil, "info"=>nil, "error"=>["Unexpected Error"]}, "statusCode"=>"ERROR"}

URL: https://api.github.com/search/issues?q=%7B%22data%22=%3Enil,%20%22messages%22=%3E%7B%22warn%22=%3Enil,%20%22info%22=%3Enil,%20%22error%22=%3E[%22Unexpected%20Error%22]%7D,%20%22statusCode%22=%3E%22ERROR%22%7D+repo:fastlane/fastlane
➑️  Deliver fails with "Unexpected Error" after uploading package to iTunes Connect
    https://github.com/fastlane/fastlane/issues/6455 [closed] 51 πŸ’¬
    23 Jan 2017

➑️  Unexpected Error
    https://github.com/fastlane/fastlane/issues/3032 [closed] 2 πŸ’¬
    22 Sep 2016

➑️  Unexpected Response error when Running 'Spaceship::Tunes::Application.all'
    https://github.com/fastlane/fastlane/issues/3908 [closed] 1 πŸ’¬
    22 Sep 2016

and 9 more at: https://github.com/fastlane/fastlane/search?q=%7B%22data%22=%3Enil,%20%22messages%22=%3E%7B%22warn%22=%3Enil,%20%22info%22=%3Enil,%20%22error%22=%3E[%22Unexpected%20Error%22]%7D,%20%22statusCode%22=%3E%22ERROR%22%7D&type=Issues&utf8=βœ“

πŸ”—  You can ⌘ + double-click on links to open them directly in your browser.


🚫 fastlane environment 🚫

Stack

Key Value
OS 10.12.6
Ruby 2.4.1
Bundler? false
Git git version 2.12.2
Installation Source /usr/local/bin/fastlane
Host Mac OS X 10.12.6 (16G29)
Ruby Lib Dir /usr/local/Cellar/ruby/2.4.1_1/lib
OpenSSL Version OpenSSL 1.0.2k 26 Jan 2017
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 8.3.3

System Locale

Variable Value
LANG en_AU.UTF-8 βœ…
LC_ALL 🚫
LANGUAGE

fastlane files:

`./Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/docs
# vi: ft=ruby

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.49.0"

default_platform :ios

platform :ios do
  before_all do
    ENV['FL_VERSION_NUMBER_PROJECT'] = "./Kogan/Kogan.xcodeproj"
    ENV['FL_BUILD_NUMBER_PROJECT'] = "./Kogan/Kogan.xcodeproj"
    ensure_git_status_clean unless ENV['FL_NO_ENSURE_CLEAN']
  end

  desc "Increment the app version patch"
  lane :increment_version_patch do
    increment_version_number(bump_type: "patch")
    commit_version_bump
  end

  desc "Increment the app version minor"
  lane :increment_version_minor do
    increment_version_number(bump_type: "minor")
    commit_version_bump
  end

  desc "Increment the app version major"
  lane :increment_version_major do
    increment_version_number(bump_type: "major")
    commit_version_bump
  end

  desc "Publish a new version to TestFlight"
  lane :uat do
    # Prepare the release
    increment_build_number
    new_version = get_version_number
    new_build = get_build_number
    shield_string = "#{new_version}-#{new_build}-orange"
    commit_version_bump
    badge(shield: shield_string, shield_no_resize: true)

    # Build the app and upload
    match(app_identifier: "com.kogan.Kogan.Kogan-Today", type: "appstore")
    match(app_identifier: "com.kogan.Kogan", type: "appstore")
    gym
    pilot(skip_submission: false, distribute_external: false)
    sh "git checkout -- ../Kogan/Kogan/Images.xcassets/"
    clean_build_artifacts
  end

  desc "Deploy a new version to the App Store"
  lane :deploy do
    # Prepare the release
    #increment_build_number
    #new_version = get_version_number
    #commit_version_bump(message: "Deploying version #{new_version}")
    #add_git_tag(tag: "v#{new_version}")
    #push_to_git_remote

    # Build the app and upload
    match(app_identifier: "com.kogan.Kogan.Kogan-Today", type: "appstore")
    match(app_identifier: "com.kogan.Kogan", type: "appstore")
    gym
    deliver(force: true)
  end
end
`./Appfile`
# For more information about this configuration visit
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

app_identifier "com.kogan.Kogan" # The bundle identifier of your app
apple_id "ouradmin+iosdev@domain.com.au" # Your Apple email address

team_id "6263T7DCFN"  # Developer Portal Team ID

fastlane gems

Gem Version Update-Status
fastlane 2.50.1 βœ… Up-To-Date

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
did_you_mean 1.1.0
slack-notifier 1.5.1
CFPropertyList 2.3.5
claide 1.0.1
colored2 3.1.2
nanaimo 0.2.3
xcodeproj 1.4.4
rouge 2.0.7
xcpretty 0.2.8
terminal-notifier 1.8.0
unicode-display_width 1.3.0
terminal-table 1.8.0
plist 3.3.0
multipart-post 2.0.0
word_wrap 1.0.0
tty-screen 0.5.0
babosa 1.0.2
colored 1.2
highline 1.7.8
commander-fastlane 4.4.5
excon 0.57.1
faraday 0.12.0.1
unf_ext 0.0.7.4
unf 0.1.4
domain_name 0.5.20170404
http-cookie 1.0.3
faraday-cookie_jar 0.0.6
fastimage 2.1.0
gh_inspector 1.0.3
uber 0.1.0
declarative 0.0.9
declarative-option 0.1.0
representable 3.0.4
retriable 3.1.1
public_suffix 2.0.5
addressable 2.5.1
mime-types-data 3.2016.0521
mime-types 3.1
little-plugger 1.1.4
multi_json 1.12.1
logging 2.2.2
jwt 1.5.6
memoist 0.16.0
os 0.9.6
signet 0.7.3
googleauth 0.5.3
httpclient 2.8.3
google-api-client 0.12.0
json 2.0.2
mini_magick 4.5.1
multi_xml 0.6.0
rubyzip 1.2.1
security 0.1.3
xcpretty-travis-formatter 0.0.4
dotenv 2.2.1
bundler 1.15.3
faraday_middleware 0.11.0.1
io-console 0.4.6
openssl 2.0.3
bigdecimal 1.3.0
psych 2.2.2

generated on: 2017-08-03

Stacktrace

INFO [2017-08-03 16:20:23.57]: ---------------------
INFO [2017-08-03 16:20:23.57]: --- Step: deliver ---
INFO [2017-08-03 16:20:23.57]: ---------------------
INFO [2017-08-03 16:20:23.61]: Successfully loaded '/Users/josh/dev/Kogan.com-iOS/fastlane/Deliverfile' πŸ“„
INFO [2017-08-03 16:20:23.62]: Running precheck before submitting to review, if you'd like to disable this check you can set run_precheck_before_submit to false
INFO [2017-08-03 16:20:23.62]: Login to iTunes Connect (admin+iosdev@domain.com.au)
INFO [2017-08-03 16:20:26.75]: Login successful
INFO [2017-08-03 16:20:27.83]: Making sure the latest version on iTunes Connect matches '1.5.0' from the ipa file...
WARN [2017-08-03 16:20:33.87]: Lane Context:
INFO [2017-08-03 16:20:33.87]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios deploy", :GIT_REPO_WAS_CLEAN_ON_START=>true, :SIGH_PROFILE_TYPE=>"app-store", :MATCH_PROVISIONING_PROFILE_MAPPING=>{"com.kogan.Kogan.Kogan-Today"=>"match AppStore com.kogan.Kogan.Kogan-Today", "com.kogan.Kogan"=>"match AppStore com.kogan.Kogan"}, :IPA_OUTPUT_PATH=>"/Users/josh/dev/Kogan.com-iOS/build/Kogan.ipa", :DSYM_OUTPUT_PATH=>"/Users/josh/dev/Kogan.com-iOS/build/Kogan.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/josh/Library/Developer/Xcode/Archives/2017-08-03/Kogan 2017-08-03 16.19.07.xcarchive"}
ERROR [2017-08-03 16:20:33.87]: {"data"=>nil, "messages"=>{"warn"=>nil, "info"=>nil, "error"=>["Unexpected Error"]}, "statusCode"=>"ERROR"}

/usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/spaceship/lib/spaceship/client.rb:584:in `parse_response': [!] {"data"=>nil, "messages"=>{"warn"=>nil, "info"=>nil, "error"=>["Unexpected Error"]}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/spaceship/lib/spaceship/tunes/tunes_client.rb:252:in `create_version!'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/spaceship/lib/spaceship/tunes/application.rb:202:in `create_version!'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/spaceship/lib/spaceship/tunes/application.rb:221:in `ensure_version!'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/deliver/lib/deliver/runner.rb:78:in `verify_version'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/deliver/lib/deliver/runner.rb:23:in `run'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/actions/deliver.rb:16:in `run'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/runner.rb:252:in `block (2 levels) in execute_action'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/runner.rb:230:in `block in execute_action'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/runner.rb:226:in `chdir'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/runner.rb:226:in `execute_action'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/runner.rb:148:in `trigger_action_by_name'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'
    from Fastfile:68:in `block (2 levels) in parsing_binding'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/lane.rb:33:in `call'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/runner.rb:45:in `chdir'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/runner.rb:45:in `execute'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/lane_manager.rb:52:in `cruise_lane'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/commands_generator.rb:104:in `block (2 levels) in run'
    from /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:178:in `call'
    from /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:153:in `run'
    from /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/runner.rb:476:in `run_active_command'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:64:in `run!'
    from /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/delegates.rb:15:in `run!'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/commands_generator.rb:303:in `run'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/commands_generator.rb:42:in `start'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in `take_off'
    from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.50.1/bin/fastlane:20:in `<top (required)>'
    from /usr/local/bin/fastlane:22:in `load'
    from /usr/local/bin/fastlane:22:in `<main>'

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 3
  • Comments: 33 (8 by maintainers)

Most upvoted comments

Hey everyone! According to our tools, it looks like iTunesConnect is down at the moment 😞 . We are monitoring the situation and will update this issue when we know more! πŸ˜„

Looks like that it’s working now, the processes completed without any errors. πŸ˜ƒ

i tried to upload and replace the screenshots and the error when saving still persists.

@adellibovi Thanks for the update – was able to submit successfully as well.

Thanks Fastlane team, I know this is not related to your fabulous tool directly, but it’s nice to have a place to track this collectively!

Thats amazing @adellibovi! Thanks for reporting back. I’ll wait to get confirmation from some others with the issue before closing the issue! πŸš€

Agree - it looks like an issue with itunes connect. The error messages are very unhelpful though, so there’s probably scope for improvement there if nothing else.

About 8h ago I was unable to create new version on iTunes Connect, was getting Error 500 from Apple.

Now I’m unable to upload binary from Fastlane, but creating version is working fine. I think it’s a temporary issue, nothing related to Fastlane.

This error was happening between:

2017-08-03T02:30:00+0000 and 2017-08-03T06:00:00+0000

It seems like this issue might be related to code signing 🚫

Have you seen our new Code Signing Troubleshooting Guide? It will help you resolve the most common code signing issues πŸ‘