{"action":"opened","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/3780","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/3780/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/3780/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/3780/events","html_url":"https://github.com/fastlane/fastlane/issues/3780","id":141275488,"number":3780,"title":"Upload binary failed","user":{"login":"gfpacheco","id":3705660,"avatar_url":"https://avatars.githubusercontent.com/u/3705660?v=3","gravatar_id":"","url":"https://api.github.com/users/gfpacheco","html_url":"https://github.com/gfpacheco","followers_url":"https://api.github.com/users/gfpacheco/followers","following_url":"https://api.github.com/users/gfpacheco/following{/other_user}","gists_url":"https://api.github.com/users/gfpacheco/gists{/gist_id}","starred_url":"https://api.github.com/users/gfpacheco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfpacheco/subscriptions","organizations_url":"https://api.github.com/users/gfpacheco/orgs","repos_url":"https://api.github.com/users/gfpacheco/repos","events_url":"https://api.github.com/users/gfpacheco/events{/privacy}","received_events_url":"https://api.github.com/users/gfpacheco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-16T13:29:33Z","updated_at":"2016-03-16T13:29:33Z","closed_at":null,"body":"### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\n\r\nI'm getting the `Upload binary failed` even thought the ipa is successfully uploaded and accessible through iTunesConnect.\r\n\r\nWeird thing is that it outputs `Successfully uploaded package to iTunes Connect` but then send an error notification to my Slack channel with the error.\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\n```\r\n...\r\n[10:01:56]: [Transporter]: INFO:      File: 6b4185ee3cf62d25cc37543ae2856b2a.ipa 37809400/41532317, 91% completed\r\n[10:01:57]: [Transporter]: INFO:      File: 6b4185ee3cf62d25cc37543ae2856b2a.ipa 38220200/41532317, 92% completed\r\n[10:01:57]: [Transporter]: INFO:      File: 6b4185ee3cf62d25cc37543ae2856b2a.ipa 38631000/41532317, 93% completed\r\n[10:01:58]: [Transporter]: INFO:      File: 6b4185ee3cf62d25cc37543ae2856b2a.ipa 39468400/41532317, 95% completed\r\n[10:01:59]: [Transporter]: INFO:      File: 6b4185ee3cf62d25cc37543ae2856b2a.ipa 40290000/41532317, 97% completed\r\n[10:01:59]: [Transporter]: INFO:      File: 6b4185ee3cf62d25cc37543ae2856b2a.ipa 40716600/41532317, 98% completed\r\n[10:02:00]: [Transporter]: INFO:      File: 6b4185ee3cf62d25cc37543ae2856b2a.ipa 41127400/41532317, 99% completed\r\n[10:02:00]: [Transporter]: INFO:      File: 6b4185ee3cf62d25cc37543ae2856b2a.ipa 41532317/41532317, 100% completed\r\n[10:02:00]: [Transporter]: DBG-X: The status for the file, 6b4185ee3cf62d25cc37543ae2856b2a.ipa, is TRANSFERRED.\r\n[10:02:00]: [Transporter]: INFO: Package upload progress: 100% completed\r\n[10:02:01]: [Transporter]: INFO: The Signiant transfer engine's status is DISCONNECTED\r\n[10:02:01]: [Transporter]: INFO: The Signiant transfer engine's status is DISCONNECTED\r\n[10:02:01]: [Transporter]: INFO: The file, metadata.xml, was uploaded successfully.\r\n[10:02:01]: [Transporter]: INFO: The file, 6b4185ee3cf62d25cc37543ae2856b2a.ipa, was uploaded successfully.\r\n[10:02:01]: [Transporter]: INFO: The status for the upload is SUCCESSFUL.\r\n[10:02:01]: [Transporter]: INFO: The package's files (1092190592.itmsp) uploaded successfully.\r\n[10:02:01]: [Transporter]: INFO: Done performing upload.\r\n[10:02:01]: [Transporter]: DBG-X: The transfer time for the package 1092190592.itmsp was 43318 milliseconds.\r\n[10:02:01]: [Transporter]: DBG-X: Throughput information for 1092190592.itmsp: 0 minutes, 43.32 seconds, 39.61MB, 936.32KB/sec\r\n[10:02:01]: [Transporter]: INFO: Performing uploadDone notification to Apple for package 1092190592.itmsp ...\r\n[10:02:01]: [Transporter]: DBG-X: Deflated 814 bytes to 404\r\n[10:02:01]: [Transporter]: DBG-X: Memory: [JVM] 937M free, 982M total, 982M max [System] (Physical) 39M free, 8192M total (Swap) 634M free, 1024M total\r\n[10:02:01]: [Transporter]: DBG-X: Using operation named: uploadDoneWithArguments\r\n[10:02:01]: [Transporter]: DBG-X: Apple's web service operation input parameters:\r\n[10:02:01]: [Transporter]: DBG-X:   parameter Application = iTMSTransporter\r\n[10:02:01]: [Transporter]: DBG-X:   parameter BaseVersion = 1.8.7\r\n[10:02:01]: [Transporter]: DBG-X:   parameter CPUToken = 0dc9298a-92cd-4c00-814e-2b17d7453405/1458133276354\r\n[10:02:01]: [Transporter]: DBG-X:   parameter ClientChecksumInfo = [{FileSize=41532317, CalculatedChecksum=3260357a5c4f2f6d26f1e02ec91557d8, FileLastModified=1458133211000, Filename=6b4185ee3cf62d25cc37543ae2856b2a.ipa, CalculationTime=169}]\r\n[10:02:01]: [Transporter]: DBG-X:   parameter ExtraTransportLogCompressed = (suppressed)\r\n[10:02:01]: [Transporter]: DBG-X:   parameter FileSizeInfo = {metadata.xml=452, 6b4185ee3cf62d25cc37543ae2856b2a.ipa=41532317}\r\n[10:02:01]: [Transporter]: DBG-X:   parameter NewPackageName = 1092190592-20160316060116-707.itmsp\r\n[10:02:01]: [Transporter]: DBG-X:   parameter NumberBytesTransferred = 41532769\r\n[10:02:01]: [Transporter]: DBG-X:   parameter OSIdentifier = Mac OS X 10.11.3 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_05_12_09_52-b00\r\n[10:02:01]: [Transporter]: DBG-X:   parameter PackagePathWithoutBase = sgr2_pod1/transporter/content/transporter/MOBLEETECNOLOGIADAINFORMACAOLTDAME\r\n[10:02:01]: [Transporter]: DBG-X:   parameter Throttle = 100000\r\n[10:02:01]: [Transporter]: DBG-X:   parameter TransferTime = 43318\r\n[10:02:01]: [Transporter]: DBG-X:   parameter Transport = Signiant\r\n[10:02:01]: [Transporter]: DBG-X:   parameter TransportLogCompressed = (suppressed)\r\n[10:02:01]: [Transporter]: DBG-X:   parameter TransporterArguments = -m upload -u developer@moblee.net -p **hidden value** -f /tmp/1092190592.itmsp -t Signiant -k 100000\r\n[10:02:01]: [Transporter]: DBG-X:   parameter Username = developer@moblee.net\r\n[10:02:01]: [Transporter]: DBG-X:   parameter Version = 1.8.8\r\n[10:02:01]: [Transporter]: DBG-X:   parameter iTMSTransporterMode = upload\r\n[10:02:01]: [Transporter]: INFO: id = 20160316100201-078\r\n[10:02:03]: [Transporter]: DBG-X: Apple's web service operation return value:\r\n[10:02:03]: [Transporter]: DBG-X:   parameter Success = true\r\n[10:02:03]: [Transporter]: DBG-X: Unlocking token at path /Users/Shared/Jenkins/.itmstransporter/UploadTokens/iMacs-iMac.local_MOBLEETECNOLOGIADAINFORMACAOLTDAME_1092190592.itmsp.token\r\n[10:02:03]: [Transporter]: DBG-X: Releasing token file lock\r\n[10:02:03]: [Transporter]: DBG-X: Removing token at path /Users/Shared/Jenkins/.itmstransporter/UploadTokens/iMacs-iMac.local_MOBLEETECNOLOGIADAINFORMACAOLTDAME_1092190592.itmsp.token\r\n[10:02:03]: [Transporter]: INFO: Done performing uploadDone notification to Apple.\r\n[10:02:03]: [Transporter]: INFO: The package: /tmp/1092190592.itmsp has been successfully uploaded.\r\n[10:02:03]: iTunes Transporter successfully finished its job\r\n[10:02:03]: [Transporter]: DBG-X: Returning 0\r\n[10:02:05]: ------------------------------------------------------------------------------------------------------\r\n[10:02:05]: Successfully uploaded package to iTunes Connect. It might take a few minutes until it's visible online.\r\n[10:02:05]: ------------------------------------------------------------------------------------------------------\r\n[10:02:05]: -------------------\r\n[10:02:05]: --- Step: slack ---\r\n[10:02:05]: -------------------\r\n[10:02:10]: Successfully sent Slack notification\r\n[10:02:10]: Variable Dump:\r\n[10:02:10]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>\"ios publish\", :PRODUCE_APPLE_ID=>\"1092190592\", :CERT_FILE_PATH=>\"/Users/Shared/Jenkins/Home/jobs/Publicar app iOS/workspace/mobleeframework_ios/5544G4QFJR.cer\", :CERT_CERTIFICATE_ID=>\"5544G4QFJR\", :SIGH_PROFILE_PATH=>\"/Users/Shared/Jenkins/Home/jobs/Publicar app iOS/workspace/mobleeframework_ios/AppStore_net.moblee.gaf.mobileprovision\", :SIGH_PROFILE_PATHS=>[\"/Users/Shared/Jenkins/Home/jobs/Publicar app iOS/workspace/mobleeframework_ios/AppStore_net.moblee.gaf.mobileprovision\"], :SIGH_UDID=>\"ae2592e0-1d93-4da4-b49b-34384614051b\", :SIGH_PROFILE_TYPE=>\"app-store\", :IPA_OUTPUT_PATH=>\"/Users/Shared/Jenkins/Home/jobs/Publicar app iOS/workspace/mobleeframework_ios/Distribution.ipa\", :DSYM_OUTPUT_PATH=>\"/Users/Shared/Jenkins/Home/jobs/Publicar app iOS/workspace/mobleeframework_ios/Distribution.app.dSYM.zip\", :XCODEBUILD_ARCHIVE=>\"/Users/Shared/Jenkins/Library/Developer/Xcode/Archives/2016-03-16/Distribution 2016-03-16 09.51.06.xcarchive\"}\r\n[10:02:10]: Upload binary failed\r\n\r\n+------+-------------------------------------+-------------+\r\n|                     fastlane summary                     |\r\n+------+-------------------------------------+-------------+\r\n| Step | Action                              | Time (in s) |\r\n+------+-------------------------------------+-------------+\r\n| 1    | Verifying required fastlane version | 0           |\r\n| 2    | default_platform                    | 0           |\r\n| 3    | Switch to ios build lane            | 0           |\r\n| 4    | Switch to ios create lane           | 0           |\r\n| 5    | produce                             | 12          |\r\n| 6    | Switch to ios provision lane        | 0           |\r\n| 7    | cert                                | 9           |\r\n| 8    | sigh                                | 24          |\r\n| 9    | pem                                 | 3           |\r\n| 10   | gym                                 | 534         |\r\n| 11   | deliver                             | 137         |\r\n| 12   | slack                               | 5           |\r\n+------+-------------------------------------+-------------+\r\n\r\n[10:02:11]: fastlane finished with errors\r\n\r\n[!] Upload binary failed\r\n```\r\n\r\n### Configuration Files\r\n\r\nPlease copy the complete content of your `Fastfile` and any other configuration files you use below:\r\n\r\nFastfile:\r\n```ruby\r\nrequire 'FileUtils'\r\nrequire 'json'\r\n\r\nfastlane_version '1.5.0'\r\n\r\ndefault_platform :ios\r\n\r\nplatform :ios do\r\n  before_all do\r\n    ENV['PRODUCE_USERNAME'] = ENV['USERNAME']\r\n    ENV['CERT_USERNAME'] = ENV['USERNAME']\r\n    ENV['DELIVER_USER'] = ENV['USERNAME']\r\n    ENV['DELIVER_PASSWORD'] = ENV['PASSWORD']\r\n  end\r\n\r\n  error do |lane, exception|\r\n    slack({\r\n      message: \"Failed to publish app for #{ENV['APP_NAME']} v#{ENV['APP_VERSION']}:\\n#{exception.message}\\nUsing command:\\n`#{ENV['COMMAND']}`\",\r\n      channel: '#publicacoes',\r\n      success: false\r\n    })\r\n  end\r\n\r\n  desc 'Generate app snapshots for each device and locale'\r\n  lane :snap do\r\n    snapshot(noclean: true)\r\n  end\r\n\r\n  desc 'Create app on Apple\\'s websites'\r\n  lane :create do\r\n    produce(\r\n      app_identifier: ENV['APP_IDENTIFIER'],\r\n      bundle_identifier_suffix: '',\r\n      app_name: ENV['APP_NAME'],\r\n      language: 'Brazilian Portuguese',\r\n      app_version: ENV['APP_VERSION'],\r\n      sku: ENV['APP_IDENTIFIER']\r\n    )\r\n  end\r\n\r\n  desc 'Create and download certificates and provisioning files'\r\n  lane :provision do\r\n    cert\r\n    sigh(force: true)\r\n    ENV['PROFILE_UDID'] = Actions.lane_context[Actions::SharedValues::SIGH_UDID]\r\n    pem(generate_p12: true)\r\n  end\r\n\r\n  desc 'Build ipa file'\r\n  lane :build do\r\n    create\r\n    provision\r\n    gym(scheme: 'XXX', silent: true, workspace: 'XXX.xcworkspace')\r\n  end\r\n\r\n  desc 'Send app to AppStore (part 1)'\r\n  lane :publish do\r\n    # snap\r\n    build\r\n    deliver(force: true)\r\n    slack(\r\n      message: \"App published for #{ENV['APP_NAME']} v#{ENV['APP_VERSION']}\\nUsing command:\\n`#{ENV['COMMAND']}`\",\r\n      channel: '#publicacoes'\r\n    )\r\n  end\r\nend```\r\n\r\n### Environment\r\n\r\nfastlane version (fastlane -v): 1.66.0\r\nDo you use bundler, rbenv or rvm? Yes, rvm\r\n"}}