fastlane / fastlane

🚀 The easiest way to automate building and releasing your iOS and Android apps
https://fastlane.tools
MIT License
38.74k stars 5.63k forks source link

Binary upload invalid / [!] {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["ITC.response.error.OPERATION_FAILED"], "info"=>nil}, "statusCode"=>"ERROR"} #6419

Closed wkwyatt closed 7 years ago

wkwyatt commented 7 years ago

New Issue Checklist

fastlane ios beta --verbose

INSERT OUTPUT HERE

WARN [2016-10-05 17:37:14.91]: [Transporter Warning Output]: WARNING ITMS-90686: "The binary you uploaded was invalid."
INFO [2016-10-05 17:37:14.97]: iTunes Transporter successfully finished its job
DEBUG [2016-10-05 17:37:14.97]: [Transporter]: DBG-X: Returning 0
WARN [2016-10-05 17:37:15.06]: WARNING ITMS-90686: "The binary you uploaded was invalid."
INFO [2016-10-05 17:37:15.06]: ------------------------------------------------------------------------------------------------------
INFO [2016-10-05 17:37:15.06]: Successfully uploaded package to iTunes Connect. It might take a few minutes until it's visible online.
INFO [2016-10-05 17:37:15.06]: ------------------------------------------------------------------------------------------------------
INFO [2016-10-05 17:37:15.06]: Successfully uploaded the new binary to iTunes Connect
INFO [2016-10-05 17:37:15.06]: If you want to skip waiting for the processing to be finished, use the `skip_waiting_for_build_processing` option
INFO [2016-10-05 17:37:15.06]: Waiting for iTunes Connect to process the new build
WARN [2016-10-05 17:37:50.59]: Variable Dump:
INFO [2016-10-05 17:37:50.59]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :CERT_FILE_PATH=>"/Users/wkwyatt/Desktop/Narwhal/GMP/gmp-app/client_ionic_app/platforms/ios/ALXA7RWN88.cer", :CERT_CERTIFICATE_ID=>"ALXA7RWN88", :SIGH_PROFILE_PATH=>"/Users/wkwyatt/Desktop/Narwhal/GMP/gmp-app/client_ionic_app/platforms/ios/AppStore_com.coke.gmp.mobileprovision", :SIGH_PROFILE_PATHS=>["/Users/wkwyatt/Desktop/Narwhal/GMP/gmp-app/client_ionic_app/platforms/ios/AppStore_com.coke.gmp.mobileprovision"], :SIGH_UDID=>"b0c41025-d392-4c13-8465-b3b35b59b292", :SIGH_PROFILE_TYPE=>"app-store", :IPA_OUTPUT_PATH=>"/Users/wkwyatt/Desktop/Narwhal/GMP/gmp-app/client_ionic_app/platforms/ios/GMP.ipa", :DSYM_OUTPUT_PATH=>"/Users/wkwyatt/Desktop/Narwhal/GMP/gmp-app/client_ionic_app/platforms/ios/GMP.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/wkwyatt/Library/Developer/Xcode/Archives/2016-10-05/GMP 2016-10-05 17.35.30.xcarchive"}
ERROR [2016-10-05 17:37:50.59]: {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["ITC.response.error.OPERATION_FAILED"], "info"=>nil}, "statusCode"=>"ERROR"}
INFO [2016-10-05 17:37:50.63]: Successfully generated documentation at path '/Users/wkwyatt/Desktop/Narwhal/GMP/gmp-app/client_ionic_app/platforms/ios/fastlane/README.md'

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | cert                                | 7           |
| 4    | sigh                                | 4           |
| 5    | gym                                 | 61          |
| 6    | pilot                               | 83          |
+------+-------------------------------------+-------------+

ERROR [2016-10-05 17:37:50.71]: fastlane finished with errors

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

URL: https://api.github.com/search/issues?q=%7B%22data%22=%3Enil,%20%22messages%22=%3E%7B%22warn%22=%3Enil,%20%22error%22=%3E[%22ITC.response.error.OPERATION_FAILED%22],%20%22info%22=%3Enil%7D,%20%22statusCode%22=%3E%22ERROR%22%7D+repo:fastlane/fastlane
Found no similar issues. To create a new issue, please visit:
https://github.com/fastlane/fastlane/issues/new

#######################################################################
# fastlane 1.105.0 is available. You are on 1.104.0.
# It is recommended to use the latest version.
# Update using 'sudo gem update fastlane'.
#######################################################################
# Run `sudo gem cleanup` from time to time to speed up fastlane
#######################################################################

1.105.0 Xcode 8 and macOS Sierra
* Improve documentation of all _fastlane_ actions
* New [actions docs](https://docs.fastlane.tools/actions)
* Improved support for macOS Sierra
* Improved support for Xcode 8
* Improve output of `fastlane_version` action (#6393)
* Add listing of plugins and their actions in Actions.md
* Switch to new Fastlane::ROOT method to fetch gem resources
* Update `xcpretty` dependency to 0.2.3 (#6323)
* Show 💥  when a fastlane step fails
* Ignore SIGH_PROFILE_PATH when using newer api (#6347)
* Add `rake update_dependencies` to automatically update internal dependencies (#6326)
* Update internal dependencies

Update using 'sudo gem update fastlane'
/Users/wkwyatt/.rvm/gems/ruby-2.2.3@global/gems/spaceship-0.34.2/lib/spaceship/client.rb:453:in `parse_response': [!] {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["ITC.response.error.OPERATION_FAILED"], "info"=>nil}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3@global/gems/spaceship-0.34.2/lib/spaceship/tunes/tunes_client.rb:527:in `build_trains'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3@global/gems/spaceship-0.34.2/lib/spaceship/tunes/build_train.rb:51:in `all'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3@global/gems/spaceship-0.34.2/lib/spaceship/tunes/application.rb:205:in `build_trains'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3@global/gems/spaceship-0.34.2/lib/spaceship/tunes/application.rb:243:in `all_processing_builds'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3@global/gems/pilot-1.10.1/lib/pilot/build_manager.rb:127:in `block in wait_for_processing_build'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3@global/gems/pilot-1.10.1/lib/pilot/build_manager.rb:116:in `loop'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3@global/gems/pilot-1.10.1/lib/pilot/build_manager.rb:116:in `wait_for_processing_build'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3@global/gems/pilot-1.10.1/lib/pilot/build_manager.rb:34:in `upload'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/actions/pilot.rb:18:in `run'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:202:in `block (2 levels) in execute_action'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:187:in `block in execute_action'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:186:in `chdir'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:186:in `execute_action'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:112:in `trigger_action_by_name'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/fast_file.rb:140:in `method_missing'
    from Fastfile:38:in `block (2 levels) in parsing_binding'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/lane.rb:33:in `call'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/lane.rb:33:in `call'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:49:in `block in execute'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:45:in `chdir'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:45:in `execute'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/command_line_handler.rb:30:in `handle'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/commands_generator.rb:49:in `block (2 levels) in run'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3@global/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/commands_generator.rb:246:in `run'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/commands_generator.rb:20:in `start'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/bin/fastlane:5:in `<top (required)>'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/bin/fastlane:23:in `load'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/bin/fastlane:23:in `<main>'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
    from /Users/wkwyatt/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'

Configuration Files

Please copy the complete content of your Fastfile and any other configuration files you use below:

Fastfile:

# INSERT CONTENT HERE

# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/docs
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

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

default_platform :ios

platform :ios do
  before_all do
    # increment_build_number()
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    cert
    sigh
    gym(scheme: "GMP") # Build your app - more options available
    pilot
    # testflight

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :appstore do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "GMP") # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/docs/Platforms.md
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

Environment

fastlane version (run fastlane -v): 1.104.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

fastlane-bot commented 7 years ago

It seems like this issue might be related to code signing :no_entry_sign:

Have you seen our new Code Signing Troubleshooting Guide? It will help you resolve the most common code signing issues :+1:

KrauseFx commented 7 years ago

Interesting, seems like a server error. Has this worked before for you?

wkwyatt commented 7 years ago

Yes, it has worked perfectly in the past. Also all of the previous builds in iTunes Connect were removed when I ran the command.

wkwyatt commented 7 years ago

I've tried updating the build version number as well, it is still not working.

mtxmichael commented 7 years ago

Interesting, I received the exact same "The binary you uploaded was invalid." error when uploading a simple ipa through the Application Loader within the last 90 minutes. (I created my ipa through PhoneGap using a process I have used dozens of times before so I am not thinking that there was an actual problem with the file.) Since I received that message, there are no builds showing in the TestFlight -> Internal Testing -> Select Build window. There were several in there before this issues. After I received the error, I have been able to upload other ipa files without that message and ALL of the builds are added to the Activity -> All Builds section under itunes connect.

I am thinking that there may be some sort of bug with iTunes Connect

amjad commented 7 years ago

Google this error, it looks like people all over the world are facing the same issue. But the app can be seen in iTunes Connect however.

wkwyatt commented 7 years ago

@amjad0 Would you post a link to whatever articles or posts you read that gave you that impression. I haven't found this to be a common issue.

amjad commented 7 years ago

@wkwyatt

http://stackoverflow.com/questions/39883352/app-store-upload-gives-warning-warning-itms-90686-the-binary-you-uploaded-was

https://forums.developer.apple.com/thread/64988

https://forums.developer.apple.com/thread/65023

https://forums.developer.apple.com/message/185968

wkwyatt commented 7 years ago

I ran fastlane beta again with a new build number and it hung for a while then gave me an access error.

----
INFO [2016-10-05 21:38:56.44]: Successfully uploaded package to iTunes Connect. It might take a few minutes until it's visible online.
INFO [2016-10-05 21:38:56.44]: ------------------------------------------------------------------------------------------------------
INFO [2016-10-05 21:38:56.44]: Successfully uploaded the new binary to iTunes Connect
INFO [2016-10-05 21:38:56.44]: If you want to skip waiting for the processing to be finished, use the `skip_waiting_for_build_processing` option
INFO [2016-10-05 21:38:56.44]: Waiting for iTunes Connect to process the new build
INFO [2016-10-05 21:39:34.65]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:40:10.50]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:40:51.35]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:41:26.80]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:42:04.57]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:42:40.72]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:43:16.50]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:43:52.91]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:44:28.87]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:45:04.50]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:45:39.98]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:46:15.53]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:46:50.92]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:47:26.47]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:48:10.13]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:48:45.36]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:49:21.41]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:49:57.60]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:50:33.18]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:51:08.72]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:51:47.74]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:52:22.97]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:52:59.23]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:53:34.73]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:54:10.12]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:54:45.56]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:55:20.54]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:55:55.69]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:56:31.89]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:57:07.11]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:57:49.01]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:58:23.92]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:58:59.07]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 21:59:34.62]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:00:09.60]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:00:44.93]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:01:21.64]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:01:56.99]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:03:01.46]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:03:36.64]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:04:11.97]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:04:48.23]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:05:23.66]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:06:02.45]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:06:38.26]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:07:13.53]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:07:49.16]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:08:24.60]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:09:00.15]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:09:36.07]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:11:01.51]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
   INFO [2016-10-05 22:11:38.55]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:12:13.73]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:12:49.32]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:13:24.63]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:14:00.99]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:14:35.98]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:15:11.54]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:15:46.57]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:16:21.73]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:16:58.33]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:17:35.20]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:18:10.21]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:18:45.13]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:19:19.98]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:19:55.89]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:20:31.55]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:21:07.68]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:21:43.95]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:22:19.21]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:34:56.50]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:35:33.31]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:36:11.15]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:36:46.69]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:37:23.28]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:37:58.48]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:38:35.33]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:39:11.60]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:39:46.36]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:40:21.43]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:40:57.15]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:41:32.29]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:42:07.53]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:42:53.51]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:43:29.05]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:44:04.14]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:44:39.17]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:45:15.69]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:45:50.54]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:46:25.46]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:47:00.80]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:47:36.11]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:48:11.34]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:48:46.37]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:49:25.57]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:50:02.97]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:50:38.62]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:51:13.82]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:51:48.71]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:52:24.16]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:52:59.18]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:53:34.78]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:54:10.57]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:54:46.09]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:55:21.83]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:55:57.05]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:56:32.01]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:57:07.53]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:57:42.52]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:58:18.88]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:58:54.33]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 22:59:29.31]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 23:00:04.80]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 23:00:39.80]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 23:01:16.95]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 23:01:52.70]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
INFO [2016-10-05 23:02:27.51]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
Auth error received: 'Unauthorized Access'. Login in again then retrying after 3 seconds (remaining: 2)...
INFO [2016-10-06 03:03:50.99]: Waiting for iTunes Connect to finish processing the new build (0.7.1 - 0.7.1)
WARN [2016-10-06 09:14:41.73]: Variable Dump:
INFO [2016-10-06 09:14:41.73]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :CERT_FILE_PATH=>"/Users/wkwyatt/Desktop/Narwhal/GMP/gmp-app/client_ionic_app/platforms/ios/ALXA7RWN88.cer", :CERT_CERTIFICATE_ID=>"ALXA7RWN88", :SIGH_PROFILE_PATH=>"/Users/wkwyatt/Desktop/Narwhal/GMP/gmp-app/client_ionic_app/platforms/ios/AppStore_com.coke.gmp.mobileprovision", :SIGH_PROFILE_PATHS=>["/Users/wkwyatt/Desktop/Narwhal/GMP/gmp-app/client_ionic_app/platforms/ios/AppStore_com.coke.gmp.mobileprovision"], :SIGH_UDID=>"b0c41025-d392-4c13-8465-b3b35b59b292", :SIGH_PROFILE_TYPE=>"app-store", :IPA_OUTPUT_PATH=>"/Users/wkwyatt/Desktop/Narwhal/GMP/gmp-app/client_ionic_app/platforms/ios/GMP.ipa", :DSYM_OUTPUT_PATH=>"/Users/wkwyatt/Desktop/Narwhal/GMP/gmp-app/client_ionic_app/platforms/ios/GMP.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/wkwyatt/Library/Developer/Xcode/Archives/2016-10-05/GMP 2016-10-05 21.36.34.xcarchive"}
ERROR [2016-10-06 09:14:41.73]: Unauthorized Access
INFO [2016-10-06 09:14:41.73]: Successfully generated documentation at path '/Users/wkwyatt/Desktop/Narwhal/GMP/gmp-app/client_ionic_app/platforms/ios/fastlane/README.md'

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | cert                                | 8           |
| 4    | sigh                                | 5           |
| 5    | gym                                 | 92          |
| 6    | pilot                               | 41808       |
+------+-------------------------------------+-------------+

ERROR [2016-10-06 09:14:49.43]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...
Search query: The request could not be completed because:
    Unauthorized Access

URL: https://api.github.com/search/issues?q=The%20request%20could%20not%20be%20completed%20because:%0A%09Unauthorized%20Access+repo:fastlane/fastlane
➡️  In order to save your changes, all s must be a .jpeg, .jpg, or .png file that is @@DIMENSION_VALUE@@ pixels , at least 72 DPI, and in the RGB color space - deliver 1.1.0
   https://github.com/fastlane/fastlane/issues/1590 [closed] 42 💬
   18 Jun 2016

➡️  sigh: authentication.failed / Your session has expired.  Please log in.
   https://github.com/fastlane/fastlane/issues/4157 [closed] 16 💬
   28 Jun 2016
cagataycali commented 7 years ago

I have similar issue,

[10:28:28]: Going to upload updated app to iTunes Connect
[10:28:28]: This might take a few minutes. Please don't interrupt the script.
[10:32:40]: Transporter transfer failed.
[10:32:40]: 
[10:32:40]: 
[10:32:40]: Return status of iTunes Transporter was 1: 
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
[10:32:40]: Variable Dump:
[10:32:40]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios release", :IPA_OUTPUT_PATH=>"/Users/cagatay/MessagesExtension.ipa", :XCODEBUILD_ARCHIVE=>"/Users/cagatay/Library/Developer/Xcode/Archives/2016-10-06/MessagesExtension 2016-10-06 10.25.29.xcarchive"}
[10:32:40]: Could not upload binary to iTunes Connect. Check out the error above
JMCPH commented 7 years ago

I'm getting the same error, is it related to this issue you think? Or should i create and open a new issue?

[21:02:11]: Making sure the latest version on iTunes Connect matches '1.0.57' from the ipa file...
ITC.apps.devReject.message.and.link.waitingForReview.canReject
[21:02:13]: Successfully set the version to '1.0.57'
ITC.apps.devReject.message.and.link.waitingForReview.canReject
[21:02:16]: Uploading binary to iTunes Connect
[21:02:17]: Going to upload updated app to iTunes Connect
[21:02:17]: This might take a few minutes. Please don't interrupt the script.
[21:02:21]: [Transporter Error Output]: Please sign in with an app-specific password. You can create one at appleid.apple.com. (-22910)
[21:02:21]: Transporter transfer failed.
[21:02:21]: 
[21:02:21]: Please sign in with an app-specific password. You can create one at appleid.apple.com. (-22910)
[21:02:21]: Please sign in with an app-specific password. You can create one at appleid.apple.com. (-22910)
Return status of iTunes Transporter was 1: Please sign in with an app-specific password. You can create one at appleid.apple.com. (-22910)
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
[21:02:21]: Could not upload binary to iTunes Connect. Check out the error above
TKBurner commented 7 years ago

@wkwyatt Are you still running into this issue? Did the lane ever work?

@JMCPH Can you share your full input and output on a new ticket. It doesn't appear to be the same issue and I want to make sure we get you up and running. Thanks!

dusek commented 7 years ago

Just ran into this issue ourselves a few hours ago (with fastlane 1.103.0 though).

vrutberg commented 7 years ago

We just ran into this issue as well, we're using fastlane 1.103.0.

dusek commented 7 years ago

Just adding that on Friday Oct 7 (3:37 PM UTC), with the same fastlane version (1.103.0) the same lane ran fine, without this error (or any other error, i.e. a green build).

vrutberg commented 7 years ago

And after I upgraded our fastlane version to 1.105.1 and ran the same lane again, it worked fine. Sounds like this problem may be located in iTunes Connect?

dusek commented 7 years ago

Interestingly enough, we also had one build running a few minutes ago, without upgrading fastlane (keeping it as 1.103.0), and the new build ran completely fine. Maybe the iTunes Connect API has simply changed back and forth in the last few days...

TKBurner commented 7 years ago

@dusek Thanks for letting me know. There has been some performance degradation on the iTC API in the past few days. Let me know if you see this again! Thanks 👍

Gawetaner commented 7 years ago

I just ran into this issue as well, uploading the same binary with the Application Loader works without problems.

besi commented 7 years ago

I just uploaded a binary too and ran into the same issue. However, after a few minutes Testflight informed me that the version was ready for testing. So in the background the build seems to have processed just fine.

TKBurner commented 7 years ago

@Gawetaner Are you still running into this? Thanks!

dusek commented 7 years ago

Some interesting data from two our builds running 5 days ago very near to each other:

[16:01:28]: Successfully uploaded the new binary to iTunes Connect
[16:01:28]: If you want to skip waiting for the processing to be finished, use the `skip_waiting_for_build_processing` option
[16:01:28]: Waiting for iTunes Connect to process the new build
[16:02:13]: Waiting for iTunes Connect to finish processing the new build (1.0.0 - 77)
[16:02:55]: Waiting for iTunes Connect to finish processing the new build (1.0.0 - 77)
[16:03:39]: Waiting for iTunes Connect to finish processing the new build (1.0.0 - 77)
[16:04:20]: Waiting for iTunes Connect to finish processing the new build (1.0.0 - 77)
[16:05:01]: Waiting for iTunes Connect to finish processing the new build (1.0.0 - 77)
[16:05:43]: Waiting for iTunes Connect to finish processing the new build (1.0.0 - 77)
[16:06:24]: Waiting for iTunes Connect to finish processing the new build (1.0.0 - 77)
[16:07:05]: Waiting for iTunes Connect to finish processing the new build (1.0.0 - 77)
[16:07:57]: Waiting for iTunes Connect to finish processing the new build (1.0.0 - 77)
[16:08:27]: Successfully finished processing the build
[16:08:27]: You can now tweet: 
[16:08:27]: iTunes Connect #iosprocessingtime 7 minutes
[16:08:29]: Successfully set the changelog for build
[16:08:29]: Distributing new build to testers
[16:08:31]: Variable Dump:
[16:08:31]: {...}
[16:08:31]: ITC.response.error.OPERATION_FAILED
...
[table summarizing all executed actions and time they took]
...
[16:08:31]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...

➡️  Binary upload invalid / [!] {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["ITC.response.error.OPERATION_FAILED"], "info"=>nil}, "statusCode"=>"ERROR"}
   https://github.com/fastlane/fastlane/issues/6419 [open] 18 💬
   a day ago

[!] The request could not be completed because:
    ITC.response.error.OPERATION_FAILED

#######################################################################
# fastlane 1.105.2 is available. You are on 1.105.1.
# It is recommended to use the latest version.
# Update using 'sudo gem update fastlane'.
#######################################################################

1.105.2 Bugfix
Fixed a variable error in the update_project_team action

Update using 'sudo gem update fastlane'
ERROR: Build failed: exit status 1

Both builds running fastlane 1.105.1.

Note that the FAILed build did in reality get distributed to testers.

TKBurner commented 7 years ago

@dusek Can you run fastlane run update_fastlane and then share the full output of your lane? We've added new debugging output today.

falcon283 commented 7 years ago

It started failing to me as well. I started receiving the same error 3 days ago. It's curious that yesterday I had a build with no error but the next one started receiving it again. In any cases TestFlight build is available and installable on devices.

Any news about how to solve it?

dusek commented 7 years ago

@dusek Can you run fastlane run update_fastlane and then share the full output of your lane? We've added new debugging output today.

I will try, though I cannot say how soon that I will manage to do that.

falcon283 commented 7 years ago

Ok Guys I should have found the solution. At least right now I just had a clean successful build. Thank to this thread https://forums.developer.apple.com/thread/64988 and what "matthart" written i figured out the solution.

I fixed my problem with this -- the clue was in the Email that Apple sent indicating there was a problem with the upload.   Turns out that when Xcode 8 automatically generates the Distribution profile, OR even if you had an existing Distribution profile that has an "entitlement" such as Push Notification set, your app MUST also have that set in its app.entitlements file. So while I am using Push Notifications, and it was set correctly in the Distro Profile, it was NOT "turned on" in the App/Target/Capabilities tab.   So once I turned it on in there, everything worked fine. My suggestion is to make sure that your self-generated OR Xcode generated Distribution Profile entitlements is matched exactly in your App/Target/Capabilities Tab.

Basically the issue is that your Project Capabilities switch state doesn't reflect the Provisioning Portal AppID Services.

esetnik commented 7 years ago

For what it's worth i'm now receiving the same error on the third build I uploaded today. I'm pretty sure that it's related to an iTunes Connect outage and not something wrong with my build because I currently cannot load the Testflight builds section of the iTunes Connect website. I get a 500 error with the same message as reported in this issue in the browser.

falcon283 commented 7 years ago

I have two different builds of the same project. One for beta builds and one for releases on two different ITC accounts. One was failing, the one I mistakenly updated the capabilities by Xcode 8, and the other don't. As soon as I updated the capabilities of the target matching the one are in the provisioning portal the error disappeared. Let's see if it's the same for you. If you are still in the transition of migrating to Xcode 8 maybe it happened to someone of your team.

ky1ejs commented 7 years ago

I'm also having this issue. Some points align with what others have said, some not.

With our issue:

These points would suggest that something is wrong with iTC, particularly with builds not being visible anymore and the build apparently still being on iTC.

I've now made a new build, changing the build number and have uploaded it successfully with Application Loader. Still waiting for it to process. Hopefully it finishes soon 🙏.

After a quick check on Twitter, to go along with the many other links people are posting, I've found that lots of other people are having this issue too. With missing builds and all:

screen shot 2016-10-24 at 22 42 57 screen shot 2016-10-24 at 22 43 13

Just search Twitter for iTunes Connect.

divyekhanna commented 7 years ago

+1 @kylejm Exact same thing happening with me now.

divyekhanna commented 7 years ago

Additionally, when I try to install this app in TestFlight, I get an error:

Title: Could not install LuvGuru. Description: The encryption information is unavailable. Try again.

Edit: Other people also seem to be experiencing this - https://stackoverflow.com/questions/40226636/the-encryption-information-is-unavailable-try-again-testflight/40227138#40227138

ryancstack commented 7 years ago

iTunes connect seems to be experiencing issues right now

ky1ejs commented 7 years ago

All working for me this morning (BST) :tada:. You'll likely need to update fastlane/spaceship/pilot/deliver to fix a new issue that seems to have appeared after these iTC problems - https://github.com/fastlane/fastlane/issues/6711.

MaximusMcCann commented 7 years ago

Just had this happen again. Believe everything is the latest version as well :/

INFO [2016-10-25 14:27:31.59]: Waiting for iTunes Connect to process the new build
INFO [2016-10-25 14:28:20.54]: Waiting for iTunes Connect to finish processing the new build (1.8.0 - 829.1477423344)
INFO [2016-10-25 14:29:02.33]: Waiting for iTunes Connect to finish processing the new build (1.8.0 - 829.1477423344)
INFO [2016-10-25 14:29:43.15]: Waiting for iTunes Connect to finish processing the new build (1.8.0 - 829.1477423344)
INFO [2016-10-25 14:30:23.28]: Waiting for iTunes Connect to finish processing the new build (1.8.0 - 829.1477423344)
INFO [2016-10-25 14:31:03.78]: Waiting for iTunes Connect to finish processing the new build (1.8.0 - 829.1477423344)
INFO [2016-10-25 14:31:44.48]: Waiting for iTunes Connect to finish processing the new build (1.8.0 - 829.1477423344)
INFO [2016-10-25 14:32:26.83]: Waiting for iTunes Connect to finish processing the new build (1.8.0 - 829.1477423344)
INFO [2016-10-25 14:33:08.64]: Waiting for iTunes Connect to finish processing the new build (1.8.0 - 829.1477423344)
INFO [2016-10-25 14:33:50.23]: Waiting for iTunes Connect to finish processing the new build (1.8.0 - 829.1477423344)
INFO [2016-10-25 14:34:30.98]: Waiting for iTunes Connect to finish processing the new build (1.8.0 - 829.1477423344)
INFO [2016-10-25 14:35:12.09]: Waiting for iTunes Connect to finish processing the new build (1.8.0 - 829.1477423344)

but then

ERROR [2016-10-25 14:35:43.18]: {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["ITC.response.error.OPERATION_FAILED"], "info"=>nil}, "statusCode"=>"ERROR"}
bundler: failed to load command: fastlane (/Users/a/.rbenv/versions/2.3.1/bin/fastlane)
Spaceship::Client::UnexpectedResponse: [!] {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["ITC.response.error.OPERATION_FAILED"], "info"=>nil}, "statusCode"=>"ERROR"}
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spaceship-0.36.2/lib/spaceship/client.rb:400:in `parse_response'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spaceship-0.36.2/lib/spaceship/tunes/tunes_client.rb:561:in `build_trains'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spaceship-0.36.2/lib/spaceship/tunes/build_train.rb:50:in `all'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spaceship-0.36.2/lib/spaceship/tunes/application.rb:205:in `build_trains'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spaceship-0.36.2/lib/spaceship/tunes/application.rb:243:in `all_processing_builds'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pilot-1.11.1/lib/pilot/build_manager.rb:127:in `block in wait_for_processing_build'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pilot-1.11.1/lib/pilot/build_manager.rb:116:in `loop'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pilot-1.11.1/lib/pilot/build_manager.rb:116:in `wait_for_processing_build'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pilot-1.11.1/lib/pilot/build_manager.rb:34:in `upload'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/actions/pilot.rb:18:in `run'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:202:in `block (2 levels) in execute_action'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:187:in `block in execute_action'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:186:in `chdir'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:186:in `execute_action'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:112:in `trigger_action_by_name'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/fast_file.rb:140:in `method_missing'
  Fastfile:102:in `block in parsing_binding'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/lane.rb:33:in `call'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:49:in `block in execute'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:45:in `chdir'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:45:in `execute'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/lane_manager.rb:52:in `cruise_lane'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/command_line_handler.rb:30:in `handle'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/commands_generator.rb:52:in `block (2 levels) in run'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane_core-0.53.0/lib/fastlane_core/ui/fastlane_runner.rb:38:in `run!'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/commands_generator.rb:246:in `run'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/commands_generator.rb:23:in `start'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'
  /Users/a/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/bin/fastlane:5:in `<top (required)>'
  /Users/a/.rbenv/versions/2.3.1/bin/fastlane:22:in `load'
  /Users/a/.rbenv/versions/2.3.1/bin/fastlane:22:in `<top (required)>'

Versions:

Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.9.1
Using thread_safe 0.3.5
Using addressable 2.4.0
Using babosa 1.0.2
Using colored 1.2
Using highline 1.7.8
Using security 0.1.3
Using excon 0.54.0
Using gh_inspector 1.0.2
Using multi_json 1.12.1
Using plist 3.1.0
Using rubyzip 1.1.7
Using terminal-table 1.4.5
Using multipart-post 2.0.0
Using unf_ext 0.0.7.2
Using multi_xml 0.5.5
Using claide 1.0.1
Using fuzzy_match 2.0.4
Using nap 1.1.0
Using cocoapods-deintegrate 1.0.1
Using cocoapods-downloader 1.1.2
Using cocoapods-search 1.0.0
Using cocoapods-stats 1.0.0
Using netrc 0.7.8
Using cocoapods-try 1.1.0
Using escape 0.0.4
Using fourflusher 0.3.2
Using molinillo 0.4.5
Using dotenv 2.1.1
Using bundler 1.13.6
Using mini_magick 4.5.1
Using rouge 1.11.1
Using net-ssh 3.2.0
Using slack-notifier 1.5.1
Using jwt 1.5.6
Using little-plugger 1.1.4
Using memoist 0.15.0
Using os 0.9.6
Using httpclient 2.8.2.4
Using hurley 0.2
Using mime-types-data 3.2016.0521
Using uber 0.0.15
Using retriable 2.1.0
Using terminal-notifier 1.7.1
Using word_wrap 1.0.0
Using tzinfo 1.2.2
Using fastimage 1.6.8
Using commander 4.4.0
Using faraday 0.9.2
Using unf 0.1.4
Using cocoapods-plugins 1.0.0
Using cocoapods-trunk 1.1.1
Using xcpretty 0.2.4
Using net-sftp 2.1.2
Using logging 2.1.0
Using mime-types 3.1
Using representable 2.3.0
Using activesupport 4.2.7.1
Using credentials_manager 0.16.2
Using faraday_middleware 0.10.0
Using signet 0.7.3
Using domain_name 0.5.20160826
Using xcpretty-travis-formatter 0.0.4
Using cocoapods-core 1.0.1
Using xcodeproj 1.3.3
Using fastlane_core 0.53.0
Using krausefx-shenzhen 0.14.10
Using googleauth 0.5.1
Using http-cookie 1.0.3
Using cocoapods 1.0.1
Using gym 1.11.3
Using scan 0.13.1
Using screengrab 0.5.5
Using snapshot 1.16.2
Using google-api-client 0.9.19
Using faraday-cookie_jar 0.0.6
Using supply 0.7.1
Using spaceship 0.36.2
Using cert 1.4.3
Using deliver 1.14.4
Using sigh 1.11.2
Using pem 1.3.2
Using pilot 1.11.1
Using produce 1.2.1
Using xcode-install 2.0.7
Using frameit 3.0.0
Using match 0.10.0
Using fastlane 1.106.2
TKBurner commented 7 years ago

@MaximusMcCann Thanks for following up. Can you run fastlane env and share the output? Thanks!

MaximusMcCann commented 7 years ago

Hmm, so apparently I do not have the latest according to that command. The above was after deleting the Gemfile.lock and running bundle install. I believe I was having su/non-su issues. Running now, and you can probably disregard.

... Beautiful command btw! fastlane env

<details><summary>🚫 fastlane environment 🚫</summary>

### Stack

| Key                 | Value                                                   |
| ------------------- | ------------------------------------------------------- |
| OS                  | 10.11.6                                                 |
| Ruby                | 2.3.1                                                   |
| Bundler?            | true                                                    |
| Xcode Path          | /Applications/Xcode7.app/Contents/Developer/            |
| Xcode Version       | 7.3.1                                                   |
| Git                 | git version 2.7.4 (Apple Git-66)                        |
| Installation Source | /Users/a/.rbenv/versions/2.3.1/bin/fastlane |
| Host                | Mac OS X 10.11.6 (15G1004)                              |
| Ruby Lib Dir        | /Users/a/.rbenv/versions/2.3.1/lib          |
| OpenSSL Version     | OpenSSL 1.0.2j  26 Sep 2016                             |

fastlane gems

Gem Version Update-Status
credentials_manager 0.16.2 ✅ Up-To-Date
fastlane_core 0.53.0 ✅ Up-To-Date
spaceship 0.36.1 🚫 Update availaible
cert 1.4.3 ✅ Up-To-Date
deliver 1.14.3 🚫 Update availaible
frameit 2.8.0 🚫 Update availaible
gym 1.11.3 ✅ Up-To-Date
sigh 1.11.2 ✅ Up-To-Date
match 0.8.1 🚫 Update availaible
pem 1.3.2 ✅ Up-To-Date
pilot 1.11.0 🚫 Update availaible
produce 1.2.1 ✅ Up-To-Date
scan 0.13.1 ✅ Up-To-Date
screengrab 0.5.5 ✅ Up-To-Date
snapshot 1.16.2 ✅ Up-To-Date
supply 0.7.1 ✅ Up-To-Date
fastlane 1.106.0 🚫 Update availaible

Loaded fastlane plugins:

**No plugins Loaded***

Loaded gems | Gem | Version | | --- | --- | | did_you_mean | 1.0.2 | | bundler | 1.13.6 | | io-console | 0.4.6 | | i18n | 0.7.0 | | json | 1.8.3 | | minitest | 5.9.1 | | thread_safe | 0.3.5 | | tzinfo | 1.2.2 | | activesupport | 4.2.7.1 | | addressable | 2.4.0 | | babosa | 1.0.2 | | colored | 1.2 | | highline | 1.7.8 | | commander | 4.4.0 | | security | 0.1.3 | | credentials_manager | 0.16.2 | | excon | 0.54.0 | | gh_inspector | 1.0.2 | | multi_json | 1.12.1 | | plist | 3.1.0 | | rubyzip | 1.1.7 | | terminal-table | 1.4.5 | | fastlane_core | 0.53.0 | | multipart-post | 2.0.0 | | faraday | 0.9.2 | | unf_ext | 0.0.7.2 | | unf | 0.1.4 | | domain_name | 0.5.20160826 | | http-cookie | 1.0.3 | | faraday-cookie_jar | 0.0.6 | | faraday_middleware | 0.10.0 | | fastimage | 1.6.8 | | multi_xml | 0.5.5 | | claide | 1.0.1 | | fuzzy_match | 2.0.4 | | nap | 1.1.0 | | cocoapods-core | 1.0.1 | | cocoapods-deintegrate | 1.0.1 | | cocoapods-downloader | 1.1.2 | | cocoapods-plugins | 1.0.0 | | cocoapods-search | 1.0.0 | | cocoapods-stats | 1.0.0 | | netrc | 0.7.8 | | cocoapods-trunk | 1.1.1 | | cocoapods-try | 1.1.0 | | escape | 0.0.4 | | fourflusher | 0.3.2 | | molinillo | 0.4.5 | | xcodeproj | 1.3.3 | | cocoapods | 1.0.1 | | dotenv | 2.1.1 | | mini_magick | 4.5.1 | | rouge | 1.11.1 | | xcpretty | 0.2.4 | | net-ssh | 3.2.0 | | net-sftp | 2.1.2 | | krausefx-shenzhen | 0.14.10 | | slack-notifier | 1.5.1 | | xcpretty-travis-formatter | 0.0.4 | | jwt | 1.5.6 | | little-plugger | 1.1.4 | | logging | 2.1.0 | | memoist | 0.15.0 | | os | 0.9.6 | | signet | 0.7.3 | | googleauth | 0.5.1 | | httpclient | 2.8.2.4 | | hurley | 0.2 | | mime-types-data | 3.2016.0521 | | mime-types | 3.1 | | uber | 0.0.15 | | representable | 2.3.0 | | retriable | 2.1.0 | | google-api-client | 0.9.19 | | terminal-notifier | 1.7.1 | | word_wrap | 1.0.0 | | xcode-install | 2.0.7 |

generated on: 2016-10-25

KrauseFx commented 7 years ago

@MaximusMcCann Can you run bundle update to update to the latest release of spaceship?

MaximusMcCann commented 7 years ago

@KrauseFx had to run sudo bundle update. But have and ran fastlane env with all green checkmarks and have re-pushed. Cheers!

Sega-Zero commented 7 years ago

Just ran into the same error with all the latest fastlane tools (1.106.2) in travis instance. Had about 35 minutes of status polling, and then failed with

/Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/spaceship-0.36.2/lib/spaceship/client.rb:400:in `parse_response': [!] {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["ITC.response.error.OPERATION_FAILED"], "info"=>nil}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/spaceship-0.36.2/lib/spaceship/tunes/tunes_client.rb:561:in `build_trains'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/spaceship-0.36.2/lib/spaceship/tunes/build_train.rb:50:in `all'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/spaceship-0.36.2/lib/spaceship/tunes/application.rb:205:in `build_trains'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/spaceship-0.36.2/lib/spaceship/tunes/application.rb:243:in `all_processing_builds'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/pilot-1.11.1/lib/pilot/build_manager.rb:127:in `block in wait_for_processing_build'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/pilot-1.11.1/lib/pilot/build_manager.rb:116:in `loop'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/pilot-1.11.1/lib/pilot/build_manager.rb:116:in `wait_for_processing_build'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/pilot-1.11.1/lib/pilot/build_manager.rb:34:in `upload'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/actions/pilot.rb:18:in `run'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:202:in `block (2 levels) in execute_action'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:187:in `block in execute_action'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:186:in `chdir'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:186:in `execute_action'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:112:in `trigger_action_by_name'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/fast_file.rb:140:in `method_missing'
    from Fastfile:157:in `block (2 levels) in parsing_binding'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/lane.rb:33:in `call'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/lane.rb:33:in `call'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:165:in `try_switch_to_lane'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:120:in `trigger_action_by_name'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/fast_file.rb:140:in `method_missing'
    from Fastfile:179:in `block (2 levels) in parsing_binding'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/lane.rb:33:in `call'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/lane.rb:33:in `call'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:49:in `block in execute'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:45:in `chdir'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:45:in `execute'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/lane_manager.rb:52:in `cruise_lane'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/command_line_handler.rb:30:in `handle'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/commands_generator.rb:52:in `block (2 levels) in run'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane_core-0.53.0/lib/fastlane_core/ui/fastlane_runner.rb:38:in `run!'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/commands_generator.rb:246:in `run'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/commands_generator.rb:23:in `start'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'
    from /Users/travis/build/company/iOS/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/bin/fastlane:5:in `<top (required)>'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643/bin/fastlane:23:in `load'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643/bin/fastlane:23:in `<main>'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643/bin/ruby_executable_hooks:15:in `eval'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643/bin/ruby_executable_hooks:15:in `<main>'
esetnik commented 7 years ago

Me too @Sega-Zero but it's because iTC is down again.

Sega-Zero commented 7 years ago

https://developer.apple.com/system-status/ says all systems are functional + web interface shows me my build is processing. That doesn't seem like being down.

esetnik commented 7 years ago

@Sega-Zero it's the same issue they were having a few days ago. It's intermittent 500 errors coming from their apis. Most of the site is working and builds will still process but when the fastlane tools are polling they will get intermittent 500 errors. Maybe we need to make the fastlane polling more forgiving. We could implement some exponential backoff and retry logic to prevent a single 500 error from becoming a hard error. It seems that iTunes Connect is too unstable to reliably poll a build to processing completion without encountering any errors.

Sega-Zero commented 7 years ago

Meanwhile the build has been successfully processed, but now I have to download the symbols manually...

TKBurner commented 7 years ago

@esetnik @Sega-Zero Are either of you interested in implementing something to improve our stability in the face of end point instability? That's the type of work we'd love to see 👍

Sega-Zero commented 7 years ago

I'd love to make a PR, but have no experience in ruby yet :( Planning to learn it, make some practice and then try to improve some of the issues I need in fastlane.

Right now I'm ready to help with testing if you need it

esetnik commented 7 years ago

I don't have time at the moment but I'll look into it as soon as I can.

TKBurner commented 7 years ago

@esetnik @Sega-Zero Awesome! Let me know if there is anything I can do to help 👍

falcon283 commented 7 years ago

I'm again receiving the error "ITC.response.error.OPERATION_FAILED" My fastlane build waited 20 minutes the processing and then I received the ITC error and fastlane failed, but the test flight build is on test flight as usual.

I just disabled the pilot build validation (PILOT_SKIP_WAITING_FOR_BUILD_PROCESSING) and submitted another build and all is good.

Any news about it?

TKBurner commented 7 years ago

@falcon283 Thanks for reaching out. There are issues on the endpoints right now that might be causing this. Has this app previously worked? Can you run fastlane env and share the output? Thanks!

esetnik commented 7 years ago

There's an outage right now fyi. https://developer.apple.com/system-status/