{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/5125","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/5125/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/5125/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/5125/events","html_url":"https://github.com/fastlane/fastlane/issues/5125","id":159992337,"number":5125,"title":"[pilot] \"Error receiving the newly uploaded binary\" on the very first upload","user":{"login":"Sega-Zero","id":2203199,"avatar_url":"https://avatars.githubusercontent.com/u/2203199?v=3","gravatar_id":"","url":"https://api.github.com/users/Sega-Zero","html_url":"https://github.com/Sega-Zero","followers_url":"https://api.github.com/users/Sega-Zero/followers","following_url":"https://api.github.com/users/Sega-Zero/following{/other_user}","gists_url":"https://api.github.com/users/Sega-Zero/gists{/gist_id}","starred_url":"https://api.github.com/users/Sega-Zero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sega-Zero/subscriptions","organizations_url":"https://api.github.com/users/Sega-Zero/orgs","repos_url":"https://api.github.com/users/Sega-Zero/repos","events_url":"https://api.github.com/users/Sega-Zero/events{/privacy}","received_events_url":"https://api.github.com/users/Sega-Zero/received_events","type":"User","site_admin":false},"labels":[{"id":153483174,"url":"https://api.github.com/repos/fastlane/fastlane/labels/bug","name":"bug","color":"fc2929","default":true},{"id":315718164,"url":"https://api.github.com/repos/fastlane/fastlane/labels/pilot","name":"pilot","color":"c7def8","default":false}],"state":"closed","locked":false,"assignee":{"login":"mpirri","id":1190389,"avatar_url":"https://avatars.githubusercontent.com/u/1190389?v=3","gravatar_id":"","url":"https://api.github.com/users/mpirri","html_url":"https://github.com/mpirri","followers_url":"https://api.github.com/users/mpirri/followers","following_url":"https://api.github.com/users/mpirri/following{/other_user}","gists_url":"https://api.github.com/users/mpirri/gists{/gist_id}","starred_url":"https://api.github.com/users/mpirri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpirri/subscriptions","organizations_url":"https://api.github.com/users/mpirri/orgs","repos_url":"https://api.github.com/users/mpirri/repos","events_url":"https://api.github.com/users/mpirri/events{/privacy}","received_events_url":"https://api.github.com/users/mpirri/received_events","type":"User","site_admin":false},"assignees":[{"login":"mpirri","id":1190389,"avatar_url":"https://avatars.githubusercontent.com/u/1190389?v=3","gravatar_id":"","url":"https://api.github.com/users/mpirri","html_url":"https://github.com/mpirri","followers_url":"https://api.github.com/users/mpirri/followers","following_url":"https://api.github.com/users/mpirri/following{/other_user}","gists_url":"https://api.github.com/users/mpirri/gists{/gist_id}","starred_url":"https://api.github.com/users/mpirri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpirri/subscriptions","organizations_url":"https://api.github.com/users/mpirri/orgs","repos_url":"https://api.github.com/users/mpirri/repos","events_url":"https://api.github.com/users/mpirri/events{/privacy}","received_events_url":"https://api.github.com/users/mpirri/received_events","type":"User","site_admin":false}],"milestone":null,"comments":78,"created_at":"2016-06-13T16:32:03Z","updated_at":"2016-11-01T18:42:48Z","closed_at":"2016-11-01T18:38:00Z","body":"### New Issue Checklist\n- [x] Updated fastlane to the latest version\n- [x] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\n### Issue Description\n\nHaving a new app, created in iTunes Connect web interface. When I run the fastlane script on a deploy lane for the first time - it fails. Meanwhile, the binary uploaded fine. The very same script with no changes but app version being incremented succeeded, when run at second time.\n\nI guess the problem line is\n\n``` ruby\nbreak if builds.count == 0\n```\n\nMaybe there must be some extra checks for that case.\n##### Complete output when running fastlane, including the stack trace and command used\n\n```\n[15:30:19]: -------------------\n[15:30:19]: --- Step: pilot ---\n[15:30:19]: -------------------\n[15:30:19]: Login to iTunes Connect (user@mail.com)\n[15:30:23]: Login successful\n[15:30:23]: Ready to upload new build to TestFlight (App: 123456789)...\n[15:30:24]: Going to upload updated app to iTunes Connect\n[15:30:24]: This might take a few minutes, please don't interrupt the script\n[15:31:55]: iTunes Transporter successfully finished its job\n[15:31:55]: ------------------------------------------------------------------------------------------------------\n[15:31:55]: Successfully uploaded package to iTunes Connect. It might take a few minutes until it's visible online.\n[15:31:55]: ------------------------------------------------------------------------------------------------------\n[15:31:56]: Successfully uploaded the new binary to iTunes Connect\n[15:31:56]: If you want to skip waiting for the processing to be finished, use the `skip_waiting_for_build_processing` option\n[15:31:56]: Waiting for iTunes Connect to process the new build\n[15:32:27]: Variable Dump:\n[15:32:27]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>\"ios auto\", :SIGH_PROFILE_TYPE=>\"app-store\", :VERSION_NUMBER=>\"1.0.117\", :BUILD_NUMBER=>\"1.0.117\", :PRODUCE_APPLE_ID=>\"\", :IPA_OUTPUT_PATH=>\"/Users/travis/build/Company/Repo/Project/Project\", :DSYM_OUTPUT_PATH=>\"/Users/travis/build/Company/Repo/Project/Project.app.dSYM.zip\", :XCODEBUILD_ARCHIVE=>\"/Users/travis/Library/Developer/Xcode/Archives/2016-06-13/Project 2016-06-13 15.22.47.xcarchive\", :HOCKEY_DOWNLOAD_LINK=>\"https://upload.hockeyapp.net/apps/123456789\", :HOCKEY_BUILD_INFORMATION=>{\"title\"=>\"Project\", \"bundle_identifier\"=>\"com.app.project\", \"public_identifier\"=>\"xxxxx\", \"platform\"=>\"iOS\", \"release_type\"=>0, \"custom_release_type\"=>nil, \"created_at\"=>\"2016-05-11T22:12:24Z\", \"updated_at\"=>\"2016-06-13T15:30:18Z\", \"featured\"=>false, \"id\"=>xxxxxx, \"config_url\"=>\"https://upload.hockeyapp.net/manage/apps/xxxx/app_versions/58\", \"public_url\"=>\"https://upload.hockeyapp.net/apps/xxxxxxxx\", \"minimum_os_version\"=>\"9.0\", \"device_family\"=>\"iPhone/iPod/iPad\", \"status\"=>2, \"visibility\"=>\"private\", \"integrated_at\"=>\"2016-05-11T22:28:50Z\", \"owner\"=>\"Owner\", \"owner_token\"=>\"token\", \"company\"=>\"Company\"}}\n[15:32:27]: Error receiving the newly uploaded binary, please check iTunes Connect\n```\n### Configuration Files\n\nPlease copy the complete content of your `Fastfile` and any other configuration files you use below:\n\nFastfile:\n\n``` ruby\n...\n\nlane :deploy do\n    match(type: \"development\", force_for_new_devices: true)\n    build(beta:false)\n    pilot(skip_submission:true, app_identifier: proj_id, verbose: true)\n    download_dsyms                  \n    upload_symbols_to_crashlytics\n  end\n```\n### Environment\n\nfastlane version (run `fastlane -v`):\n1.95.0\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)?\nbundle\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)?\nrvm\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/257656369","html_url":"https://github.com/fastlane/fastlane/issues/5125#issuecomment-257656369","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/5125","id":257656369,"user":{"login":"Kendaren","id":21689655,"avatar_url":"https://avatars.githubusercontent.com/u/21689655?v=3","gravatar_id":"","url":"https://api.github.com/users/Kendaren","html_url":"https://github.com/Kendaren","followers_url":"https://api.github.com/users/Kendaren/followers","following_url":"https://api.github.com/users/Kendaren/following{/other_user}","gists_url":"https://api.github.com/users/Kendaren/gists{/gist_id}","starred_url":"https://api.github.com/users/Kendaren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kendaren/subscriptions","organizations_url":"https://api.github.com/users/Kendaren/orgs","repos_url":"https://api.github.com/users/Kendaren/repos","events_url":"https://api.github.com/users/Kendaren/events{/privacy}","received_events_url":"https://api.github.com/users/Kendaren/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T18:42:48Z","updated_at":"2016-11-01T18:42:48Z","body":"Thanks for the fix!  Next time we push to iTunesConnect / Testflight, I will let you know how it goes."}}
{"actor":{"display_login":"Kendaren"}}