{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/6381","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/6381/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/6381/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/6381/events","html_url":"https://github.com/fastlane/fastlane/issues/6381","id":180972555,"number":6381,"title":"Pilot Upload Failure undefined method `builds' for nil:NilClass","user":{"login":"wkwyatt","id":13364964,"avatar_url":"https://avatars.githubusercontent.com/u/13364964?v=3","gravatar_id":"","url":"https://api.github.com/users/wkwyatt","html_url":"https://github.com/wkwyatt","followers_url":"https://api.github.com/users/wkwyatt/followers","following_url":"https://api.github.com/users/wkwyatt/following{/other_user}","gists_url":"https://api.github.com/users/wkwyatt/gists{/gist_id}","starred_url":"https://api.github.com/users/wkwyatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkwyatt/subscriptions","organizations_url":"https://api.github.com/users/wkwyatt/orgs","repos_url":"https://api.github.com/users/wkwyatt/repos","events_url":"https://api.github.com/users/wkwyatt/events{/privacy}","received_events_url":"https://api.github.com/users/wkwyatt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/pilot","name":"pilot","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-04T18:44:31Z","updated_at":"2016-10-05T19:01:28Z","closed_at":"2016-10-05T02:20:21Z","body":"### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\nfastlane 1.104.0\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\nPilot Upload Failure undefined method `builds' for nil:NilClass\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n`fastlane beta`\r\n\r\n```\r\n[14:32:37]: Variable Dump:\r\n[14:32:37]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>\"ios beta\", :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-04/GMP 2016-10-04 14.28.37.xcarchive\"}\r\n[14:32:37]: undefined method `builds' for nil:NilClass\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    | sigh                                | 7           |\r\n| 4    | gym                                 | 77          |\r\n| 5    | pilot                               | 171         |\r\n+------+-------------------------------------+-------------+\r\n\r\n[14:32:37]: fastlane finished with errors\r\n\r\nLooking for related GitHub issues on fastlane/fastlane...\r\n\r\n➡️  pilot upload failure undefined method `builds' for nil:NilClass\r\n   https://github.com/fastlane/fastlane/issues/6267 [closed] 9 💬\r\n   an hour ago\r\n\r\n➡️  Undefined method `exitstatus' for nil:NilClass (NoMethodError)\r\n   https://github.com/fastlane/fastlane/issues/2077 [closed] 6 💬\r\n   2 weeks ago\r\n\r\n➡️  Undefined method `strip' for nil:NilClass\r\n   https://github.com/fastlane/fastlane/issues/1811 [closed] 8 💬\r\n   2 weeks ago\r\n\r\nand 30 more at: https://github.com/fastlane/fastlane/search?q=undefined%20method%20%60builds'%20for%20nil&type=Issues&utf8=✓\r\n/Users/wkwyatt/.rvm/gems/ruby-2.2.3@global/gems/pilot-1.10.0/lib/pilot/build_manager.rb:142:in `wait_for_processing_build': [!] undefined method `builds' for nil:NilClass (NoMethodError)\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3@global/gems/pilot-1.10.0/lib/pilot/build_manager.rb:34:in `upload'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/actions/pilot.rb:18:in `run'\r\n\tfrom /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'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:187:in `block in execute_action'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:186:in `chdir'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:186:in `execute_action'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:112:in `trigger_action_by_name'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/fast_file.rb:140:in `method_missing'\r\n\tfrom Fastfile:37:in `block (2 levels) in parsing_binding'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/lane.rb:33:in `call'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/lane.rb:33:in `call'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:49:in `block in execute'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:45:in `chdir'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/runner.rb:45:in `execute'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/command_line_handler.rb:30:in `handle'\r\n\tfrom /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'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3@global/gems/fastlane_core-0.52.0/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/commands_generator.rb:246:in `run'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/commands_generator.rb:20:in `start'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/gems/fastlane-1.104.0/bin/fastlane:5:in `<top (required)>'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/bin/fastlane:23:in `load'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/bin/fastlane:23:in `<main>'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'\r\n\tfrom /Users/wkwyatt/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'\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# INSERT CONTENT HERE\r\n# Customise this file, documentation can be found here:\r\n# https://github.com/fastlane/fastlane/tree/master/docs\r\n# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md\r\n# can also be listed using the `fastlane actions` command\r\n\r\n# Change the syntax highlighting to Ruby\r\n# All lines starting with a # are ignored when running `fastlane`\r\n\r\n# If you want to automatically update fastlane if a new version is available:\r\n# update_fastlane\r\n\r\n# This is the minimum version number required.\r\n# Update this, if you use features of a newer version\r\nfastlane_version \"1.81.0\"\r\n\r\ndefault_platform :ios\r\n\r\nplatform :ios do\r\n  before_all do\r\n    # increment_build_number()\r\n    # ENV[\"SLACK_URL\"] = \"https://hooks.slack.com/services/...\"\r\n    \r\n    \r\n  end\r\n\r\n  desc \"Runs all the tests\"\r\n  lane :test do\r\n    scan\r\n  end\r\n\r\n  desc \"Submit a new Beta Build to Apple TestFlight\"\r\n  desc \"This will also make sure the profile is up to date\"\r\n  lane :beta do\r\n    # match(type: \"appstore\") # more information: https://codesigning.guide\r\n    sigh\r\n    gym(scheme: \"GMP\") # Build your app - more options available\r\n    pilot\r\n\r\n    # sh \"your_script.sh\"\r\n    # You can also use other beta testing services here (run `fastlane actions`)\r\n  end\r\n\r\n  desc \"Deploy a new version to the App Store\"\r\n  lane :appstore do\r\n    # match(type: \"appstore\")\r\n    # snapshot\r\n    gym(scheme: \"GMP\") # Build your app - more options available\r\n    deliver(force: true)\r\n    # frameit\r\n  end\r\n\r\n  # You can define as many lanes as you want\r\n\r\n  after_all do |lane|\r\n    # This block is called, only if the executed lane was successful\r\n\r\n    # slack(\r\n    #   message: \"Successfully deployed new App Update.\"\r\n    # )\r\n  end\r\n\r\n  error do |lane, exception|\r\n    # slack(\r\n    #   message: exception.message,\r\n    #   success: false\r\n    # )\r\n  end\r\nend\r\n\r\n\r\n# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/docs/Platforms.md\r\n# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md\r\n\r\n# fastlane reports which actions are used\r\n# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer\r\n\r\n```\r\n\r\n### Environment\r\n\r\nfastlane version (run `fastlane -v`):\r\nfastlane 1.104.0\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)?\r\nno\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)?\r\nno"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/251767583","html_url":"https://github.com/fastlane/fastlane/issues/6381#issuecomment-251767583","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/6381","id":251767583,"user":{"login":"KrauseFx","id":869950,"avatar_url":"https://avatars.githubusercontent.com/u/869950?v=3","gravatar_id":"","url":"https://api.github.com/users/KrauseFx","html_url":"https://github.com/KrauseFx","followers_url":"https://api.github.com/users/KrauseFx/followers","following_url":"https://api.github.com/users/KrauseFx/following{/other_user}","gists_url":"https://api.github.com/users/KrauseFx/gists{/gist_id}","starred_url":"https://api.github.com/users/KrauseFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrauseFx/subscriptions","organizations_url":"https://api.github.com/users/KrauseFx/orgs","repos_url":"https://api.github.com/users/KrauseFx/repos","events_url":"https://api.github.com/users/KrauseFx/events{/privacy}","received_events_url":"https://api.github.com/users/KrauseFx/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T19:01:28Z","updated_at":"2016-10-05T19:01:28Z","body":"@wkwyatt Best is to follow us on Twitter [@fastlanetools](https://twitter.com/fastlanetools) 👍 "}}
{"actor":{"display_login":"KrauseFx"}}