{"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":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/pilot","name":"pilot","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"vpolouchkine","id":915660,"avatar_url":"https://avatars.githubusercontent.com/u/915660?v=3","gravatar_id":"","url":"https://api.github.com/users/vpolouchkine","html_url":"https://github.com/vpolouchkine","followers_url":"https://api.github.com/users/vpolouchkine/followers","following_url":"https://api.github.com/users/vpolouchkine/following{/other_user}","gists_url":"https://api.github.com/users/vpolouchkine/gists{/gist_id}","starred_url":"https://api.github.com/users/vpolouchkine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpolouchkine/subscriptions","organizations_url":"https://api.github.com/users/vpolouchkine/orgs","repos_url":"https://api.github.com/users/vpolouchkine/repos","events_url":"https://api.github.com/users/vpolouchkine/events{/privacy}","received_events_url":"https://api.github.com/users/vpolouchkine/received_events","type":"User","site_admin":false},"assignees":[{"login":"vpolouchkine","id":915660,"avatar_url":"https://avatars.githubusercontent.com/u/915660?v=3","gravatar_id":"","url":"https://api.github.com/users/vpolouchkine","html_url":"https://github.com/vpolouchkine","followers_url":"https://api.github.com/users/vpolouchkine/followers","following_url":"https://api.github.com/users/vpolouchkine/following{/other_user}","gists_url":"https://api.github.com/users/vpolouchkine/gists{/gist_id}","starred_url":"https://api.github.com/users/vpolouchkine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpolouchkine/subscriptions","organizations_url":"https://api.github.com/users/vpolouchkine/orgs","repos_url":"https://api.github.com/users/vpolouchkine/repos","events_url":"https://api.github.com/users/vpolouchkine/events{/privacy}","received_events_url":"https://api.github.com/users/vpolouchkine/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2016-06-13T16:32:03Z","updated_at":"2016-06-25T22:20:12Z","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\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.\r\n\r\nI guess the problem line is\r\n```ruby\r\nbreak if builds.count == 0\r\n```\r\n\r\nMaybe there must be some extra checks for that case.\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\n```\r\n[15:30:19]: -------------------\r\n[15:30:19]: --- Step: pilot ---\r\n[15:30:19]: -------------------\r\n[15:30:19]: Login to iTunes Connect (user@mail.com)\r\n[15:30:23]: Login successful\r\n[15:30:23]: Ready to upload new build to TestFlight (App: 123456789)...\r\n[15:30:24]: Going to upload updated app to iTunes Connect\r\n[15:30:24]: This might take a few minutes, please don't interrupt the script\r\n[15:31:55]: iTunes Transporter successfully finished its job\r\n[15:31:55]: ------------------------------------------------------------------------------------------------------\r\n[15:31:55]: Successfully uploaded package to iTunes Connect. It might take a few minutes until it's visible online.\r\n[15:31:55]: ------------------------------------------------------------------------------------------------------\r\n[15:31:56]: Successfully uploaded the new binary to iTunes Connect\r\n[15:31:56]: If you want to skip waiting for the processing to be finished, use the `skip_waiting_for_build_processing` option\r\n[15:31:56]: Waiting for iTunes Connect to process the new build\r\n[15:32:27]: Variable Dump:\r\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\"}}\r\n[15:32:27]: Error receiving the newly uploaded binary, please check iTunes Connect\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\n...\r\n\r\nlane :deploy do\r\n\tmatch(type: \"development\", force_for_new_devices: true)\r\n    build(beta:false)\r\n    pilot(skip_submission:true, app_identifier: proj_id, verbose: true)\r\n    download_dsyms                  \r\n\tupload_symbols_to_crashlytics\r\n  end\r\n```\r\n\r\n### Environment\r\n\r\nfastlane version (run `fastlane -v`):\r\n1.95.0\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)?\r\nbundle\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)?\r\nrvm"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/228573247","html_url":"https://github.com/fastlane/fastlane/issues/5125#issuecomment-228573247","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/5125","id":228573247,"user":{"login":"lllovesmatt","id":6657488,"avatar_url":"https://avatars.githubusercontent.com/u/6657488?v=3","gravatar_id":"","url":"https://api.github.com/users/lllovesmatt","html_url":"https://github.com/lllovesmatt","followers_url":"https://api.github.com/users/lllovesmatt/followers","following_url":"https://api.github.com/users/lllovesmatt/following{/other_user}","gists_url":"https://api.github.com/users/lllovesmatt/gists{/gist_id}","starred_url":"https://api.github.com/users/lllovesmatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lllovesmatt/subscriptions","organizations_url":"https://api.github.com/users/lllovesmatt/orgs","repos_url":"https://api.github.com/users/lllovesmatt/repos","events_url":"https://api.github.com/users/lllovesmatt/events{/privacy}","received_events_url":"https://api.github.com/users/lllovesmatt/received_events","type":"User","site_admin":false},"created_at":"2016-06-25T22:20:12Z","updated_at":"2016-06-25T22:20:12Z","body":"Same issue, on first use of Fastlane, if that helps."}}
{"actor":{"display_login":"lllovesmatt"}}