{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/4357","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/4357/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/4357/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/4357/events","html_url":"https://github.com/fastlane/fastlane/issues/4357","id":150992987,"number":4357,"title":"Running `latest_testflight_build_number` fails after team selection","user":{"login":"mfurtak","id":343134,"avatar_url":"https://avatars.githubusercontent.com/u/343134?v=3","gravatar_id":"","url":"https://api.github.com/users/mfurtak","html_url":"https://github.com/mfurtak","followers_url":"https://api.github.com/users/mfurtak/followers","following_url":"https://api.github.com/users/mfurtak/following{/other_user}","gists_url":"https://api.github.com/users/mfurtak/gists{/gist_id}","starred_url":"https://api.github.com/users/mfurtak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfurtak/subscriptions","organizations_url":"https://api.github.com/users/mfurtak/orgs","repos_url":"https://api.github.com/users/mfurtak/repos","events_url":"https://api.github.com/users/mfurtak/events{/privacy}","received_events_url":"https://api.github.com/users/mfurtak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/action","name":"action","color":"d93f0b"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/fastlane","name":"fastlane","color":"CCCCCC"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/waiting-for-reply","name":"waiting-for-reply","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-04-25T22:01:22Z","updated_at":"2016-09-22T19:25:37Z","closed_at":"2016-09-22T19:25:37Z","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\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\n```\r\n$ fastlane beta --verbose\r\nINFO [2016-04-25 16:55:45.55]: -------------------------------------------------\r\nINFO [2016-04-25 16:55:45.55]: --- Step: Verifying required fastlane version ---\r\nINFO [2016-04-25 16:55:45.55]: -------------------------------------------------\r\nINFO [2016-04-25 16:55:45.55]: fastlane version valid\r\nINFO [2016-04-25 16:55:45.55]: ------------------------------\r\nINFO [2016-04-25 16:55:45.55]: --- Step: default_platform ---\r\nINFO [2016-04-25 16:55:45.55]: ------------------------------\r\nINFO [2016-04-25 16:55:45.55]: Driving the lane 'ios beta' 🚀\r\nINFO [2016-04-25 16:55:45.55]: --------------------------------------------\r\nINFO [2016-04-25 16:55:45.55]: --- Step: latest_testflight_build_number ---\r\nINFO [2016-04-25 16:55:45.55]: --------------------------------------------\r\nMultiple iTunes Connect teams found, please enter the number of the team you want to use: \r\n1) \"Team A\" (########)\r\n2) \"Team B\" (########)\r\n1\r\nWARN [2016-04-25 16:56:07.60]: Variable Dump:\r\nINFO [2016-04-25 16:56:07.60]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>\"ios beta\"}\r\nERROR [2016-04-25 16:56:07.60]: {\"data\"=>nil, \"messages\"=>{\"warn\"=>nil, \"info\"=>nil, \"error\"=>[\"operation_failed\"]}, \"statusCode\"=>\"ERROR\"}\r\nINFO [2016-04-25 16:56:07.60]: Successfully generated documentation to path '/Users/mfurtak/Documents/Code/fastlane/internal-examples/SingleView/fastlane/README.md'\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    | latest_testflight_build_number      | 22          |\r\n+------+-------------------------------------+-------------+\r\n\r\nERROR [2016-04-25 16:56:07.61]: fastlane finished with errors\r\n-------------------------------------------------------------------------------------------\r\n😨  An error occured. Please enable crash reports using `fastlane enable_crash_reporting`.\r\n👍  This makes resolving issues much easier and helps improve fastlane.\r\n🔒  The reports will be stored securely on getsentry.com.\r\n🙊  More information about privacy: https://github.com/fastlane/fastlane/releases/tag/1.33.3\r\n-------------------------------------------------------------------------------------------\r\n/Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spaceship-0.26.1/lib/spaceship/client.rb:427:in `parse_response': [!] {\"data\"=>nil, \"messages\"=>{\"warn\"=>nil, \"info\"=>nil, \"error\"=>[\"operation_failed\"]}, \"statusCode\"=>\"ERROR\"} (Spaceship::Client::UnexpectedResponse)\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spaceship-0.26.1/lib/spaceship/tunes/tunes_client.rb:508:in `build_trains'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spaceship-0.26.1/lib/spaceship/tunes/build_train.rb:48:in `all'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spaceship-0.26.1/lib/spaceship/tunes/application.rb:199:in `build_trains'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/lib/fastlane/actions/latest_testflight_build_number.rb:22:in `run'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/lib/fastlane/runner.rb:143:in `block (2 levels) in execute_action'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/lib/fastlane/runner.rb:129:in `block in execute_action'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/lib/fastlane/runner.rb:128:in `chdir'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/lib/fastlane/runner.rb:128:in `execute_action'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/lib/fastlane/fast_file.rb:149:in `method_missing'\r\n\tfrom Fastfile:43:in `block (2 levels) in parsing_binding'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/lib/fastlane/lane.rb:36:in `call'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/lib/fastlane/lane.rb:36:in `call'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/lib/fastlane/runner.rb:52:in `block in execute'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/lib/fastlane/runner.rb:46:in `chdir'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/lib/fastlane/runner.rb:46:in `execute'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/lib/fastlane/command_line_handler.rb:30:in `handle'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/bin/fastlane:38:in `block (2 levels) in run'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane_core-0.41.3/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/bin/fastlane:168:in `run'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.81.0/bin/fastlane:174:in `<top (required)>'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/bin/fastlane:23:in `load'\r\n\tfrom /Users/mfurtak/.rbenv/versions/2.2.3/bin/fastlane:23: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\nfastlane_version \"1.66.0\"\r\n\r\ndefault_platform :ios\r\n\r\nplatform :ios do\r\n  before_all do\r\n    # ENV[\"SLACK_URL\"] = \"https://hooks.slack.com/services/...\"\r\n\r\n\r\n  end\r\n\r\n  lane :match do\r\n    match(readonly: false)\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    increment_build_number({\r\n      build_number: latest_testflight_build_number + 1\r\n    })\r\n    match(type: 'appstore', readonly: false)\r\n\r\n    gym # Build your app - more options available\r\n    pilot(skip_submission: true)\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 # 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\r\n  end\r\n\r\n  error do |lane, exception|\r\n  end\r\nend\r\n```\r\n\r\n### Environment\r\n\r\nfastlane version (run `fastlane -v`): **1.81.0**\r\n\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)? **no**\r\n\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)? **rbenv**"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/249003303","html_url":"https://github.com/fastlane/fastlane/issues/4357#issuecomment-249003303","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/4357","id":249003303,"user":{"login":"fastlane-bot","id":17056452,"avatar_url":"https://avatars.githubusercontent.com/u/17056452?v=3","gravatar_id":"","url":"https://api.github.com/users/fastlane-bot","html_url":"https://github.com/fastlane-bot","followers_url":"https://api.github.com/users/fastlane-bot/followers","following_url":"https://api.github.com/users/fastlane-bot/following{/other_user}","gists_url":"https://api.github.com/users/fastlane-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/fastlane-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastlane-bot/subscriptions","organizations_url":"https://api.github.com/users/fastlane-bot/orgs","repos_url":"https://api.github.com/users/fastlane-bot/repos","events_url":"https://api.github.com/users/fastlane-bot/events{/privacy}","received_events_url":"https://api.github.com/users/fastlane-bot/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T19:25:37Z","updated_at":"2016-09-22T19:25:37Z","body":"This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to [open a new one](https://github.com/fastlane/fastlane/issues/new) if you still experience this problem 👍"}}
{"actor":{"display_login":"fastlane-bot"}}