{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/10957","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/10957/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/10957/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/10957/events","html_url":"https://github.com/fastlane/fastlane/issues/10957","id":275443412,"number":10957,"title":"download_dsyms Platform not passing down To new TestFlight API","user":{"login":"bassrock","id":1010384,"avatar_url":"https://avatars0.githubusercontent.com/u/1010384?v=4","gravatar_id":"","url":"https://api.github.com/users/bassrock","html_url":"https://github.com/bassrock","followers_url":"https://api.github.com/users/bassrock/followers","following_url":"https://api.github.com/users/bassrock/following{/other_user}","gists_url":"https://api.github.com/users/bassrock/gists{/gist_id}","starred_url":"https://api.github.com/users/bassrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bassrock/subscriptions","organizations_url":"https://api.github.com/users/bassrock/orgs","repos_url":"https://api.github.com/users/bassrock/repos","events_url":"https://api.github.com/users/bassrock/events{/privacy}","received_events_url":"https://api.github.com/users/bassrock/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-20T17:50:37Z","updated_at":"2017-11-21T15:36:24Z","closed_at":"2017-11-21T00:39:41Z","author_association":"CONTRIBUTOR","body":"### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n- [x] I read [docs.fastlane.tools](https://docs.fastlane.tools)\r\n- [x] I searched for [existing GitHub issues](https://github.com/fastlane/fastlane/issues)\r\n\r\n### Issue Description\r\n\r\nAfter upgrading to the recently released Fastlane this morning that uses the new TestFlight API, I decided to refresh my DSYMS. It looks like with the new api the platform parameter is not getting passed down from the download_dsyms command.\r\n\r\n### Stack trace\r\n\r\n```\r\n bundler: failed to load command: fastlane (/Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/bin/fastlane)\r\nNameError: [!] `platform' is a required parameter\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/spaceship/lib/spaceship/test_flight/client.rb:288:in `block in assert_required_params'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/spaceship/lib/spaceship/test_flight/client.rb:286:in `each'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/spaceship/lib/spaceship/test_flight/client.rb:286:in `assert_required_params'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/spaceship/lib/spaceship/test_flight/client.rb:24:in `get_build_trains'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/spaceship/lib/spaceship/test_flight/build_trains.rb:13:in `all'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/spaceship/lib/spaceship/tunes/application.rb:264:in `build_trains'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/spaceship/lib/spaceship/tunes/application.rb:270:in `all_build_train_numbers'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/actions/download_dsyms.rb:53:in `run'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/runner.rb:253:in `block (2 levels) in execute_action'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/runner.rb:231:in `block in execute_action'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/runner.rb:227:in `chdir'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/runner.rb:227:in `execute_action'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/runner.rb:148:in `trigger_action_by_name'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'\r\n  Fastfile:160:in `block (2 levels) in parsing_binding'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/lane.rb:33:in `call'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/runner.rb:45:in `execute'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/lane_manager.rb:54:in `cruise_lane'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/commands_generator.rb:104:in `block (2 levels) in run'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:178:in `call'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:153:in `run'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/runner.rb:476:in `run_active_command'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:66:in `run!'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/delegates.rb:15:in `run!'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/commands_generator.rb:303:in `run'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/commands_generator.rb:42:in `start'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in `take_off'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/gems/fastlane-2.65.0/bin/fastlane:20:in `<top (required)>'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/bin/fastlane:22:in `load'\r\n  /Users/daniel/Work/TestCompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/bin/fastlane:22:in `<top (required)>'\r\n```\r\n\r\n### Captured Output\r\n\r\nCommand Used: `refresh_dsyms`\r\n<details><summary>Output/Log</summary>\r\n\r\n```\r\n\r\nDEBUG [2017-11-20 09:38:18.59]: Checking if there are any plugins that should be loaded...\r\nDEBUG [2017-11-20 09:38:18.59]: Loading 'fastlane-plugin-appicon' plugin\r\nINFO [2017-11-20 09:38:18.63]: gem 'fastlane-plugin-appicon' is already installed\r\n+------------------------+---------+------------------+\r\n|                    Used plugins                     |\r\n+------------------------+---------+------------------+\r\n| Plugin                 | Version | Action           |\r\n+------------------------+---------+------------------+\r\n| fastlane-plugin-appic  | 0.10.0  | android_appicon  |\r\n| on                     |         | appicon          |\r\n+------------------------+---------+------------------+\r\n\r\nSuccessfully loaded Appfile at path '/Users/daniel/Work/testcompany/CoolApp/CoolAppiOS/fastlane/Appfile'\r\n- app_identifier: 'com.test.CoolApp'\r\n- apple_id: 'test@test.com'\r\n-------\r\nINFO [2017-11-20 09:38:18.98]: -------------------------------------------------\r\nINFO [2017-11-20 09:38:18.98]: --- Step: Verifying required fastlane version ---\r\nINFO [2017-11-20 09:38:18.98]: -------------------------------------------------\r\nINFO [2017-11-20 09:38:18.98]: Your fastlane version 2.65.0 matches the minimum requirement of 1.5.0  ✅\r\nINFO [2017-11-20 09:38:19.02]: ------------------------------\r\nINFO [2017-11-20 09:38:19.02]: --- Step: default_platform ---\r\nINFO [2017-11-20 09:38:19.02]: ------------------------------\r\nINFO [2017-11-20 09:38:19.02]: Driving the lane 'ios refresh_dsyms' 🚀\r\nINFO [2017-11-20 09:38:19.06]: -------------------\r\nINFO [2017-11-20 09:38:19.06]: --- Step: is_ci ---\r\nINFO [2017-11-20 09:38:19.06]: -------------------\r\nINFO [2017-11-20 09:38:19.09]: ----------------------------\r\nINFO [2017-11-20 09:38:19.09]: --- Step: download_dsyms ---\r\nINFO [2017-11-20 09:38:19.09]: ----------------------------\r\nINFO [2017-11-20 09:38:19.09]: Login to iTunes Connect (test@test.com)\r\nLoading session from '/Users/daniel/.fastlane/spaceship/test@test.com/cookie'\r\nLooking for iTunes Connect Team with ID 239758\r\nINFO [2017-11-20 09:38:20.99]: Login successful\r\nINFO [2017-11-20 09:38:21.68]: Looking for dSYM files for com.test.CoolApp\r\nWARN [2017-11-20 09:38:22.14]: Lane Context:\r\nINFO [2017-11-20 09:38:22.14]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>\"ios refresh_dsyms\"}\r\nERROR [2017-11-20 09:38:22.14]: `platform' is a required parameter\r\nINFO [2017-11-20 09:38:22.14]: Successfully generated documentation at path '/Users/daniel/Work/testcompany/CoolApp/CoolAppiOS/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  | 0           |\r\n|      | fastlane version    |             |\r\n| 2    | default_platform    | 0           |\r\n| 3    | is_ci               | 0           |\r\n| 💥   | download_dsyms      | 2           |\r\n+------+---------------------+-------------+\r\n\r\nDEBUG [2017-11-20 09:38:22.15]: All plugins are up to date\r\nERROR [2017-11-20 09:38:22.15]: fastlane finished with errors\r\n\r\nLooking for related GitHub issues on fastlane/fastlane...\r\nSearch query: `platform' is a required parameter\r\n\r\nURL: https://api.github.com/search/issues?q=%60platform'%20is%20a%20required%20parameter+repo:fastlane/fastlane\r\n➡️  Parameters are ignored\r\n    https://github.com/fastlane/fastlane/issues/10667 [open] 3 💬\r\n    4 weeks ago\r\n\r\n➡️  latest_testflight_build_number return incorrect build number & crash when live_version parameter is true\r\n    https://github.com/fastlane/fastlane/issues/10923 [open] 9 💬\r\n    14 hours ago\r\n\r\n➡️  \"You passed invalid parameters to 'resign'\" when resign\r\n    https://github.com/fastlane/fastlane/issues/10737 [open] 3 💬\r\n    3 weeks ago\r\n\r\nand 359 more at: https://github.com/fastlane/fastlane/search?q=%60platform%27%20is%20a%20required%20parameter&type=Issues&utf8=✓\r\n\r\n🔗  You can ⌘ + double-click on links to open them directly in your browser.\r\nDEBUG [2017-11-20 09:38:22.81]: All plugins are up to date\r\n\r\n\r\n```\r\n\r\n</details>\r\n\r\n<details><summary>✅ fastlane environment ✅</summary>\r\n\r\n### Stack\r\n\r\n| Key                         | Value                                                                                      |\r\n| --------------------------- | ------------------------------------------------------------------------------------------ |\r\n| OS                          | 10.13.1                                                                                    |\r\n| Ruby                        | 2.4.0                                                                                      |\r\n| Bundler?                    | true                                                                                       |\r\n| Git                         | git version 2.15.0                                                                         |\r\n| Installation Source         | ~/Work/testcompany/CoolApp/CoolAppiOS/vendor/bundle/ruby/2.4.0/bin/fastlane |\r\n| Host                        | Mac OS X 10.13.1 (17B48)                                                                   |\r\n| Ruby Lib Dir                | ~/.rbenv/versions/2.4.0/lib                                                                |\r\n| OpenSSL Version             | OpenSSL 1.0.2l  25 May 2017                                                                |\r\n| Is contained                | false                                                                                      |\r\n| Is homebrew                 | false                                                                                      |\r\n| Is installed via Fabric.app | false                                                                                      |\r\n| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/                                                |\r\n| Xcode Version               | 9.1                                                                                        |\r\n\r\n\r\n### System Locale\r\n\r\n| Variable | Value       |   |\r\n| -------- | ----------- | - |\r\n| LANG     | en_US.UTF-8 | ✅ |\r\n| LC_ALL   |             |   |\r\n| LANGUAGE |             |   |\r\n\r\n\r\n### fastlane files:\r\n\r\n<details><summary>`./fastlane/Fastfile`</summary>\r\n\r\n```ruby\r\n# Customise this file, documentation can be found here:\r\n# https://github.com/KrauseFx/fastlane/tree/master/docs\r\n# All available actions: https://github.com/KrauseFx/fastlane/blob/master/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# By default, fastlane will send which actions are used\r\n# No personal data is shared, more information on https://github.com/fastlane/enhancer\r\n# Uncomment the following line to opt out\r\n# opt_out_usage\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.5.0\"\r\n\r\ndefault_platform :ios\r\n\r\nplatform :ios do\r\n\r\n    before_all do\r\n\t\tENV[\"MATCH_GIT_URL\"] =  \"git@gitlab.testcompany.com:testcompany/apple-certificates.git\"\r\n\t\tENV['FASTLANE_TEAM_ID'] = 'OBFUSCATED'\r\n\t\r\n\t\tif ENV['FASTLANE_USER'].nil?\r\n\t\t\tENV['FASTLANE_USER'] = 'test@test.com'\r\n\t\tend\r\n        ENV['MATCH_KEYCHAIN_NAME'] = 'login.keychain-db'\r\n\t\tENV['MATCH_USERNAME'] = ENV['FASTLANE_USER']\r\n\t\tENV['DELIVER_USERNAME'] = ENV['FASTLANE_USER']\r\n\t\tENV['PILOT_USERNAME'] = ENV['FASTLANE_USER']\r\n        ENV['MATCH_KEYCHAIN_NAME'] = 'login.keychain-db'\r\n        ENV['CERT_KEYCHAIN_PATH'] = '~/Library/Keychains/login.keychain-db'\r\n\r\n\t\tif is_ci?\r\n\t\t\tunlock_keychain\r\n\t\tend\r\n    end\r\n\r\n    desc \"Runs all the tests\"\r\n        lane :test do\r\n#         appicon(\r\n# \t\t\tappicon_devices: [:iphone, :marketing, :ipad], \r\n# \t\t\tappicon_path: 'CoolApp/Images.xcassets' # output path\r\n# \t\t)\r\n        type_certificates(type: 'development')\r\n        Actions.sh('bundle exec pod repo update')\r\n        Actions.sh('rm -rf ../Pods')\r\n        cocoapods\r\n        Actions.sh('rm -rf ../ios-build-*')\r\n        Actions.sh('rm -rf ../tvos-build-*')\r\n        type_certificates(type: 'development', platform: 'ios')\r\n        gym(scheme: \"CoolApp\", configuration: \"Debug\", include_symbols: true, include_bitcode: true, clean: true, archive_path: \"ios-build-dev/\", output_directory: \"ios-build-dev/\", export_method: \"development\")\r\n        type_certificates(type: 'development', platform: 'tvos')\r\n        gym(scheme: \"CoolApp tvOS\", destination: \"generic/platform=tvOS\", include_symbols: true, include_bitcode: true, configuration: \"Debug\", archive_path: \"tvos-build-dev/\", output_directory: \"tvos-build-dev/\", export_method: \"development\")\r\n        Actions.sh('mv ../tvos-build-dev/.xcarchive.xcarchive ../tvos-build-dev/CoolApp\\ tvOS.xcarchive')\r\n        Actions.sh('mv ../ios-build-dev/.xcarchive.xcarchive ../ios-build-dev/CoolApp.xcarchive')\r\n    end\r\n\r\n    desc \"Builds release versions\"\r\n    lane :release_build do\r\n        Actions.sh('bundle exec pod repo update')\r\n        Actions.sh('rm -rf ../Pods')\r\n        cocoapods\r\n\r\n        # Increment build number\r\n        increment_build_number\r\n\r\n        # Set version number to the one at the top of the CHANGELOG\r\n        readme = File.read(\"../CHANGELOG.md\")\r\n        latest_version = readme.split(\"\\n## \").first\r\n        first_line = latest_version.split(\"\\n\").first\r\n        version_number = first_line.split(\" \")[1]\r\n\r\n        increment_version_number(version_number: version_number)\r\n\r\n        clean_build_artifacts\r\n\r\n        commit_version_bump(message: \"[ci skip] Deploying build version #{lane_context[SharedValues::BUILD_NUMBER]} and main version #{version_number}\", xcodeproj: 'CoolApp.xcodeproj', force: true)\r\n        push_to_git_remote\r\n\r\n        # Generate release notes from CHANGELOG\r\n        release_notes = latest_version.split(\"\\n\")[1..-1].join(\"\\n\")\r\n\r\n        Actions.sh('rm -rf ../ios-build-*')\r\n        Actions.sh('rm -rf ../tvos-build-*')\r\n        type_certificates(type: 'appstore', platform: 'ios')\r\n        gym(scheme: \"CoolApp\", configuration: \"Release\", include_symbols: true, include_bitcode: true, archive_path: \"ios-build-release/\", output_directory: \"ios-build-release/\", export_method: \"app-store\")\r\n        type_certificates(type: 'appstore', platform: 'tvos')\r\n        gym(scheme: \"CoolApp tvOS\", destination: \"generic/platform=tvOS\", configuration: \"Release\", include_symbols: true, include_bitcode: true, archive_path: \"tvos-build-release/\", output_directory: \"tvos-build-release/\", export_method: \"app-store\")\r\n        Actions.sh('mv ../tvos-build-release/.xcarchive.xcarchive ../tvos-build-release/CoolApp\\ tvOS.xcarchive')\r\n        Actions.sh('mv ../ios-build-release/.xcarchive.xcarchive ../ios-build-release/CoolApp.xcarchive')\r\n        deliver(precheck_default_rule_level: :error, skip_binary_upload: true, app_version: version_number, force: true)\r\n    end\r\n\r\n    desc \"Submits a new Beta Build to Apple TestFlight\"\r\n    lane :deploy do\r\n    \tdeploy_ios\r\n\t\tdeploy_tvos\r\n    end\r\n\r\n    desc \"Submits a new Beta Build to Apple TestFlight\"\r\n    lane :deploy_ios do\r\n\t\t# Set version number to the one at the top of the CHANGELOG\r\n\t\treadme = File.read(\"../CHANGELOG.md\")\r\n\t\tlatest_version = readme.split(\"\\n## \").first\r\n\t\tfirst_line = latest_version.split(\"\\n\").first\r\n\t\tversion_number = first_line.split(\" \")[1]\r\n\r\n\t\t# Generate release notes from CHANGELOG\r\n\t\trelease_notes = latest_version.split(\"\\n\")[1..-1].join(\"\\n\")\r\n\r\n        pilot(changelog: release_notes, ipa: 'ios-build-release/CoolApp.ipa')\r\n    end\r\n\r\n    desc \"Submits a new Beta Build to Apple TestFlight\"\r\n    lane :deploy_tvos do\r\n\t\t# Set version number to the one at the top of the CHANGELOG\r\n\t\treadme = File.read(\"../CHANGELOG.md\")\r\n\t\tlatest_version = readme.split(\"\\n## \").first\r\n\t\tfirst_line = latest_version.split(\"\\n\").first\r\n\t\tversion_number = first_line.split(\" \")[1]\r\n\r\n\t\t# Generate release notes from CHANGELOG\r\n\t\trelease_notes = latest_version.split(\"\\n\")[1..-1].join(\"\\n\")\r\n\r\n        pilot(changelog: release_notes, ipa: 'tvos-build-release/CoolApptvOS.ipa')\r\n    end\r\n\r\n    lane :certificates do\r\n        type_certificates(type: 'appstore', platform: 'ios')\r\n        type_certificates(type: 'appstore', platform: 'tvos')\r\n        type_certificates(type: 'development', platform: 'ios')\r\n        type_certificates(type: 'development', platform: 'tvos')\r\n    end\r\n\r\n\tprivate_lane :type_certificates do |options|\r\n\t\tENV['MATCH_TYPE'] = options[:type]\r\n        platform = options[:platform]\r\n        if platform==\"ios\"\r\n        match(app_identifier: [\"com.test.CoolApp.CoolAppTodayExtension\",\"com.test.CoolApp.watchkitapp\",\"com.test.CoolApp.watchkitapp.watchkitextension\", \"com.test.CoolApp.WaitTimesMessage\", \"com.test.CoolApp\"], force: true)\r\n        end\r\n\r\n        if platform==\"tvos\"\r\n            match(app_identifier: [\"com.test.CoolApp\"], platform: \"tvos\",force: true)\r\n        end\r\n\tend\r\n\r\n\r\n    lane :screenshots do\r\n        snapshot\r\n        sh \"cp -R ./watchscreenshots/* ./screenshots/en-US\"\r\n    end\r\n\r\n    lane :refresh_dsyms do\r\n        download_dsyms(app_identifier: \"com.test.CoolApp\", platform: 'ios')                 # Download dSYM files from iTC\r\n        upload_symbols_to_crashlytics   # Upload them to Crashlytics\r\n        clean_build_artifacts           # Delete the local dSYM files\r\n\r\n        download_dsyms(app_identifier: \"com.test.CoolApp\", platform: 'tvOS')                 # Download dSYM files from iTC\r\n        upload_symbols_to_crashlytics   # Upload them to Crashlytics\r\n        clean_build_artifacts           # Delete the local dSYM files\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\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:\r\n# https://github.com/KrauseFx/fastlane/blob/master/docs/Platforms.md\r\n\r\n```\r\n</details>\r\n\r\n<details><summary>`./fastlane/Appfile`</summary>\r\n\r\n```ruby\r\napp_identifier \"com.test.CoolApp\" # The bundle identifier of your app\r\napple_id \"test@test.com\" # Your Apple email address\r\n\r\n# You can uncomment any of the lines below and add your own\r\n# team selection in case you're in multiple teams\r\n# team_name \"Felix Krause\"\r\n# team_id \"Q2CBPJ58CA\"\r\n\r\n\r\n# you can even provide different app identifiers, Apple IDs and team names per lane:\r\n# https://github.com/KrauseFx/fastlane/blob/master/docs/Advanced.md#the-appfile\r\n\r\n```\r\n</details>\r\n\r\n### fastlane gems\r\n\r\n| Gem      | Version | Update-Status |\r\n| -------- | ------- | ------------- |\r\n| fastlane | 2.65.0  | ✅ Up-To-Date  |\r\n\r\n\r\n### Loaded fastlane plugins:\r\n\r\n| Plugin                  | Version | Update-Status |\r\n| ----------------------- | ------- | ------------- |\r\n| fastlane-plugin-appicon | 0.10.0  | ✅ Up-To-Date  |\r\n\r\n\r\n<details><summary><b>Loaded gems</b></summary>\r\n\r\n| Gem                       | Version      |\r\n| ------------------------- | ------------ |\r\n| did_you_mean              | 1.1.0        |\r\n| bundler                   | 1.15.4       |\r\n| io-console                | 0.4.6        |\r\n| CFPropertyList            | 2.3.5        |\r\n| concurrent-ruby           | 1.0.5        |\r\n| i18n                      | 0.9.1        |\r\n| minitest                  | 5.10.3       |\r\n| thread_safe               | 0.3.6        |\r\n| tzinfo                    | 1.2.4        |\r\n| activesupport             | 4.2.10       |\r\n| public_suffix             | 2.0.5        |\r\n| addressable               | 2.5.2        |\r\n| babosa                    | 1.0.2        |\r\n| claide                    | 1.0.2        |\r\n| fuzzy_match               | 2.0.4        |\r\n| nap                       | 1.1.0        |\r\n| cocoapods-core            | 1.3.1        |\r\n| cocoapods-deintegrate     | 1.0.1        |\r\n| cocoapods-downloader      | 1.1.3        |\r\n| cocoapods-plugins         | 1.0.0        |\r\n| cocoapods-search          | 1.0.0        |\r\n| cocoapods-stats           | 1.0.0        |\r\n| netrc                     | 0.11.0       |\r\n| cocoapods-trunk           | 1.3.0        |\r\n| cocoapods-try             | 1.1.0        |\r\n| colored2                  | 3.1.2        |\r\n| escape                    | 0.0.4        |\r\n| fourflusher               | 2.0.1        |\r\n| gh_inspector              | 1.0.3        |\r\n| molinillo                 | 0.5.7        |\r\n| ruby-macho                | 1.1.0        |\r\n| nanaimo                   | 0.2.3        |\r\n| xcodeproj                 | 1.5.3        |\r\n| cocoapods                 | 1.3.1        |\r\n| colored                   | 1.2          |\r\n| highline                  | 1.7.8        |\r\n| commander-fastlane        | 4.4.5        |\r\n| declarative               | 0.0.10       |\r\n| declarative-option        | 0.1.0        |\r\n| unf_ext                   | 0.0.7.4      |\r\n| unf                       | 0.1.4        |\r\n| domain_name               | 0.5.20170404 |\r\n| dotenv                    | 2.2.1        |\r\n| excon                     | 0.59.0       |\r\n| multipart-post            | 2.0.0        |\r\n| faraday                   | 0.13.1       |\r\n| http-cookie               | 1.0.3        |\r\n| faraday-cookie_jar        | 0.0.6        |\r\n| faraday_middleware        | 0.12.2       |\r\n| fastimage                 | 2.1.0        |\r\n| jwt                       | 2.1.0        |\r\n| little-plugger            | 1.1.4        |\r\n| multi_json                | 1.12.2       |\r\n| logging                   | 2.2.2        |\r\n| memoist                   | 0.16.0       |\r\n| os                        | 0.9.6        |\r\n| signet                    | 0.8.1        |\r\n| googleauth                | 0.6.2        |\r\n| httpclient                | 2.8.3        |\r\n| mime-types-data           | 3.2016.0521  |\r\n| mime-types                | 3.1          |\r\n| uber                      | 0.1.0        |\r\n| representable             | 3.0.4        |\r\n| retriable                 | 3.1.1        |\r\n| google-api-client         | 0.13.6       |\r\n| json                      | 2.1.0        |\r\n| mini_magick               | 4.5.1        |\r\n| multi_xml                 | 0.6.0        |\r\n| plist                     | 3.3.0        |\r\n| rubyzip                   | 1.2.1        |\r\n| security                  | 0.1.3        |\r\n| slack-notifier            | 1.5.1        |\r\n| terminal-notifier         | 1.8.0        |\r\n| unicode-display_width     | 1.3.0        |\r\n| terminal-table            | 1.8.0        |\r\n| tty-screen                | 0.5.1        |\r\n| word_wrap                 | 1.0.0        |\r\n| rouge                     | 2.0.7        |\r\n| xcpretty                  | 0.2.8        |\r\n| xcpretty-travis-formatter | 1.0.0        |\r\n| fastlane-plugin-appicon   | 0.10.0       |\r\n| openssl                   | 2.0.6        |\r\n</details>\r\n\r\n\r\n*generated on:* **2017-11-20**\r\n</details>"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/346064525","html_url":"https://github.com/fastlane/fastlane/issues/10957#issuecomment-346064525","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/10957","id":346064525,"user":{"login":"sebastienhannay","id":11958596,"avatar_url":"https://avatars0.githubusercontent.com/u/11958596?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastienhannay","html_url":"https://github.com/sebastienhannay","followers_url":"https://api.github.com/users/sebastienhannay/followers","following_url":"https://api.github.com/users/sebastienhannay/following{/other_user}","gists_url":"https://api.github.com/users/sebastienhannay/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienhannay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienhannay/subscriptions","organizations_url":"https://api.github.com/users/sebastienhannay/orgs","repos_url":"https://api.github.com/users/sebastienhannay/repos","events_url":"https://api.github.com/users/sebastienhannay/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienhannay/received_events","type":"User","site_admin":false},"created_at":"2017-11-21T15:36:24Z","updated_at":"2017-11-21T15:36:24Z","author_association":"NONE","body":"I still have an issue with 2.66.0\r\n\r\nI'm trying to get latest dsym with `'fastlane run download_dsyms version:'latest'` and got this error : \r\n```\r\n/Library/Ruby/Gems/2.3.0/gems/fastlane-2.66.0/fastlane/lib/fastlane/actions/download_dsyms.rb:34:in `run': [!] undefined method `build_version' for nil:NilClass (NoMethodError)\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/fastlane-2.66.0/fastlane/lib/fastlane/runner.rb:253:in `block (2 levels) in execute_action'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/fastlane-2.66.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/fastlane-2.66.0/fastlane/lib/fastlane/runner.rb:231:in `block in execute_action'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/fastlane-2.66.0/fastlane/lib/fastlane/runner.rb:227:in `chdir'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/fastlane-2.66.0/fastlane/lib/fastlane/runner.rb:227:in `execute_action'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/fastlane-2.66.0/fastlane/lib/fastlane/one_off.rb:42:in `run'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/fastlane-2.66.0/fastlane/lib/fastlane/one_off.rb:22:in `execute'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/fastlane-2.66.0/fastlane/lib/fastlane/commands_generator.rb:192:in `block (2 levels) in run'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:153:in `run'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.5/lib/commander/runner.rb:476:in `run_active_command'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/fastlane-2.66.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:66:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.5/lib/commander/delegates.rb:15:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/fastlane-2.66.0/fastlane/lib/fastlane/commands_generator.rb:303:in `run'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/fastlane-2.66.0/fastlane/lib/fastlane/commands_generator.rb:42:in `start'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/fastlane-2.66.0/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in `take_off'\r\n\tfrom /Library/Ruby/Gems/2.3.0/gems/fastlane-2.66.0/bin/fastlane:20:in `<top (required)>'\r\n\tfrom /usr/local/bin/fastlane:22:in `load'\r\n\tfrom /usr/local/bin/fastlane:22:in `<main>'\r\n```\r\n\r\nIf I specify the version and build I want, it doesn't find the dsym : \r\n```\r\n[15:50:52]: No dSYM URL for 20171121.1312 (2.2.4)\r\n[15:50:52]: No dSYM files found on iTunes Connect - this usually happens when no recompling happened yet\r\n```\r\nWorks perfectly with fastlane 2.64.1"}}
{"actor":{"display_login":"sebastienhannay"}}