Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upload_to_play_store fails with error wrong number of arguments (given 1, expected 0) #18698

Closed
4 tasks done
edouardruiz opened this issue May 17, 2021 · 9 comments · Fixed by #18699
Closed
4 tasks done
Assignees
Labels

Comments

@edouardruiz
Copy link

New Regression Checklist

Regression Information

  • Breaking version: 2.183.0
  • Last working version: 2.182.0

Regression Description

The below command (using upload_to_play_store) fails with error message error wrong number of arguments (given 1, expected 0) since upgrading fastlane from 2.182.0 to 2.183.0 and ruby from 2.7.2 to 3.0.1.

bundle exec fastlane run upload_to_play_store version_name:2021.5.17 metadata_path:fastlane/metadata/android skip_upload_images:true skip_upload_screenshots:true

If I rollback to the previous version (fastlane 2.182.0 / ruby 2.7.2) the command succeeds.

I have a json_key.json file with Google API credentials in the current folder validated by the command validate_play_store_json_key.

Complete output when running fastlane, including the stack trace and command used
### Captured Output

Command Used: run upload_to_play_store --capture_output version_name:2021.5.17 metadata_path:fastlane/metadata/android skip_upload_images:true skip_upload_screenshots:true

Output/Log

[✔] 🚀 
+------------------------------+---------+------------------------------+
|                             Used plugins                              |
+------------------------------+---------+------------------------------+
| Plugin                       | Version | Action                       |
+------------------------------+---------+------------------------------+
| fastlane-plugin-firebase_ap  | 0.2.9   | firebase_app_distribution    |
| p_distribution               |         | firebase_app_distribution_g  |
|                              |         | et_udids                     |
|                              |         | firebase_app_distribution_l  |
|                              |         | ogin                         |
| fastlane-plugin-badge        | 1.5.0   | add_badge                    |
+------------------------------+---------+------------------------------+

[14:21:20]: ----------------------------------
[14:21:20]: --- Step: upload_to_play_store ---
[14:21:20]: ----------------------------------

+---------------------------------+---------------------------+
|                 Summary for supply 2.183.0                  |
+---------------------------------+---------------------------+
| version_name                    | 2021.5.17                 |
| metadata_path                   | fastlane/metadata/android |
| skip_upload_images              | true                      |
| skip_upload_screenshots         | true                      |
| package_name                    | <package_name>         |
| release_status                  | completed                 |
| track                           | production                |
| json_key                        | json_key.json             |
| skip_upload_apk                 | false                     |
| skip_upload_aab                 | false                     |
| skip_upload_metadata            | false                     |
| skip_upload_changelogs          | false                     |
| validate_only                   | false                     |
| check_superseded_tracks         | false                     |
| timeout                         | 300                       |
| deactivate_on_promote           | true                      |
| ack_bundle_installation_warning | false                     |
+---------------------------------+---------------------------+

[14:21:21]: Preparing to upload for language 'en-US'...

Looking for related GitHub issues on fastlane/fastlane...

➡️  Passing api-key to sigh via CLI doesn't work
    https://github.com/fastlane/fastlane/issues/18222 [open] 5 💬
    3 weeks ago

➡️  [Match] Change password results in a argument error
    https://github.com/fastlane/fastlane/issues/18509 [closed] 2 💬
    5 weeks ago

➡️  DELIVER (2.150.0.rc3/4) always ask attribute whatsNew
    https://github.com/fastlane/fastlane/issues/16700 [open] 80 💬
    2 weeks ago

and 25 more at: https://github.com/fastlane/fastlane/search?q=wrong%20number%20of%20arguments%20%28given%201%2C%20expected%200%29&type=Issues&utf8=✓

🔗  You can ⌘ + double-click on links to open them directly in your browser.
bundler: failed to load command: fastlane (/Users/edouard/.rbenv/versions/3.0.1/bin/fastlane)
/Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/google-apis-androidpublisher_v3-0.2.0/lib/google/apis/androidpublisher_v3/classes.rb:1017:in `initialize': \e[31m[!] wrong number of arguments (given 1, expected 0)\e[0m (ArgumentError)
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/client.rb:284:in `new'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/client.rb:284:in `update_listing_for_language'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/listing.rb:25:in `save'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/uploader.rb:253:in `upload_metadata'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/uploader.rb:95:in `block (2 levels) in perform_upload_meta'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/uploader.rb:89:in `each'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/uploader.rb:89:in `block in perform_upload_meta'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/uploader.rb:81:in `each'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/uploader.rb:81:in `perform_upload_meta'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/uploader.rb:32:in `perform_upload'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/actions/upload_to_play_store.rb:33:in `run'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/one_off.rb:42:in `run'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/one_off.rb:22:in `execute'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/commands_generator.rb:225:in `block (2 levels) in run'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/commands_generator.rb:353:in `run'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/commands_generator.rb:42:in `start'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in `take_off'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/bin/fastlane:23:in `<top (required)>'
        from /Users/edouard/.rbenv/versions/3.0.1/bin/fastlane:23:in `load'
        from /Users/edouard/.rbenv/versions/3.0.1/bin/fastlane:23:in `<top (required)>'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli/exec.rb:63:in `load'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli/exec.rb:63:in `kernel_load'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli/exec.rb:28:in `run'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli.rb:494:in `exec'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli.rb:30:in `dispatch'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli.rb:24:in `start'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/exe/bundle:49:in `block in <top (required)>'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/exe/bundle:37:in `<top (required)>'
        from /Users/edouard/.rbenv/versions/3.0.1/bin/bundle:23:in `load'
        from /Users/edouard/.rbenv/versions/3.0.1/bin/bundle:23:in `<main>'
/Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/google-apis-androidpublisher_v3-0.2.0/lib/google/apis/androidpublisher_v3/classes.rb:1017:in `initialize': wrong number of arguments (given 1, expected 0) (ArgumentError)
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/client.rb:284:in `new'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/client.rb:284:in `update_listing_for_language'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/listing.rb:25:in `save'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/uploader.rb:253:in `upload_metadata'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/uploader.rb:95:in `block (2 levels) in perform_upload_meta'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/uploader.rb:89:in `each'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/uploader.rb:89:in `block in perform_upload_meta'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/uploader.rb:81:in `each'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/uploader.rb:81:in `perform_upload_meta'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/supply/lib/supply/uploader.rb:32:in `perform_upload'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/actions/upload_to_play_store.rb:33:in `run'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/one_off.rb:42:in `run'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/one_off.rb:22:in `execute'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/commands_generator.rb:225:in `block (2 levels) in run'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/commands_generator.rb:353:in `run'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/commands_generator.rb:42:in `start'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in `take_off'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fastlane-2.183.0/bin/fastlane:23:in `<top (required)>'
        from /Users/edouard/.rbenv/versions/3.0.1/bin/fastlane:23:in `load'
        from /Users/edouard/.rbenv/versions/3.0.1/bin/fastlane:23:in `<top (required)>'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli/exec.rb:63:in `load'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli/exec.rb:63:in `kernel_load'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli/exec.rb:28:in `run'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli.rb:494:in `exec'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli.rb:30:in `dispatch'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli.rb:24:in `start'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/exe/bundle:49:in `block in <top (required)>'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
        from /Users/edouard/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/exe/bundle:37:in `<top (required)>'
        from /Users/edouard/.rbenv/versions/3.0.1/bin/bundle:23:in `load'
        from /Users/edouard/.rbenv/versions/3.0.1/bin/bundle:23:in `<main>'


✅ fastlane environment ✅

Stack

Key Value
OS 11.3.1
Ruby 3.0.1
Bundler? true
Git git version 2.31.1
Installation Source ~/.rbenv/versions/3.0.1/bin/fastlane
Host macOS 11.3.1 (20E241)
Ruby Lib Dir ~/.rbenv/versions/3.0.1/lib
OpenSSL Version OpenSSL 1.1.1k 25 Mar 2021
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 12.5

System Locale

Variable Value
LANG en_US.UTF-8
LC_ALL en_US.UTF-8
LANGUAGE

fastlane files:

`./fastlane/Fastfile`
platform :android do
  project_dir = "android"
  build_dir = "build_android"

  desc "Deploy a new version to the Google Play Store"
  lane :release do
    ensure_env_vars(
      env_vars: ['CI_COMMIT_TAG', 'ANDROID_KEYSTORE_PATH', 'ANDROID_KEYSTORE_PASS', 'ANDROID_KEY_ALIAS', 'ANDROID_KEY_PASS']
    )

    gradle(
      task: "clean assembleProductionRelease",
      project_dir: project_dir,
      print_command: !is_ci,
      print_command_output: !is_ci,
      properties: {
        "appVersionCode" => build_number,
        "appVersionName" => ENV['CI_COMMIT_TAG'],
        "android.injected.signing.store.file" => ENV['ANDROID_KEYSTORE_PATH'],
        "android.injected.signing.store.password" => ENV['ANDROID_KEYSTORE_PASS'],
        "android.injected.signing.key.alias" => ENV['ANDROID_KEY_ALIAS'],
        "android.injected.signing.key.password" => ENV['ANDROID_KEY_PASS']
      }
    )

    upload_to_play_store(
      version_code: build_number,
      version_name: ENV['CI_COMMIT_TAG'],
      metadata_path: "fastlane/metadata/android",
      skip_upload_images: true,
      skip_upload_screenshots: true
    )
  end
end
`./fastlane/Appfile`
app_identifier("") # The bundle identifier of your app
apple_id("") # Your Apple email address

itc_team_id("") # App Store Connect Team ID
team_id("") # Developer Portal Team ID

json_key_file("json_key.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one

package_name("") # e.g. com.krausefx.app

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem Version Update-Status
fastlane 2.183.0 ✅ Up-To-Date

Loaded fastlane plugins:

Plugin Version Update-Status
fastlane-plugin-firebase_app_distribution 0.2.9 ✅ Up-To-Date
fastlane-plugin-badge 1.5.0 ✅ Up-To-Date
Loaded gems
Gem Version
did_you_mean 1.5.0
bundler 2.2.17
tsort 0.1.0
uri 0.10.1
pathname 0.1.0
rake 13.0.3
CFPropertyList 3.0.3
public_suffix 4.0.6
addressable 2.7.0
artifactory 3.0.15
atomos 0.1.3
aws-eventstream 1.1.1
aws-partitions 1.456.0
aws-sigv4 1.2.3
jmespath 1.4.0
aws-sdk-core 3.114.0
aws-sdk-kms 1.43.0
aws-sdk-s3 1.94.1
babosa 1.0.4
fastimage 2.2.3
colored 1.2
highline 2.0.3
commander 4.6.0
dotenv 2.7.6
emoji_regex 3.2.2
excon 0.81.0
faraday-excon 1.1.0
faraday-net_http 1.0.1
faraday-net_http_persistent 1.1.0
multipart-post 2.0.0
ruby2_keywords 0.0.4
faraday 1.4.1
unf_ext 0.0.7.7
unf 0.1.4
domain_name 0.5.20190701
http-cookie 1.0.3
faraday-cookie_jar 0.0.7
faraday_middleware 1.0.0
gh_inspector 1.1.3
jwt 2.2.3
memoist 0.16.2
multi_json 1.15.0
os 1.1.1
signet 0.15.0
googleauth 0.16.2
httpclient 2.8.3
mini_mime 1.1.0
declarative 0.0.20
trailblazer-option 0.1.1
uber 0.1.0
representable 3.1.1
retriable 3.1.2
rexml 3.2.5
webrick 1.7.0
google-apis-core 0.3.0
google-apis-androidpublisher_v3 0.2.0
google-apis-playcustomapp_v1 0.2.0
digest-crc 0.6.3
google-apis-iamcredentials_v1 0.3.0
google-apis-storage_v1 0.3.0
google-cloud-env 1.5.0
google-cloud-errors 1.1.0
google-cloud-core 1.6.0
google-cloud-storage 1.31.0
json 2.5.1
mini_magick 4.11.0
naturally 2.2.1
plist 3.6.0
rubyzip 2.3.0
security 0.1.3
simctl 1.6.8
terminal-notifier 2.0.0
unicode-display_width 1.7.0
terminal-table 1.8.0
tty-screen 0.8.1
tty-cursor 0.7.1
tty-spinner 0.9.3
word_wrap 1.0.0
claide 1.0.3
colored2 3.1.2
nanaimo 0.3.0
xcodeproj 1.19.0
rouge 2.0.7
xcpretty 0.3.0
xcpretty-travis-formatter 1.0.1
badge 0.13.0
fastlane-plugin-badge 1.5.0
fastlane-plugin-firebase_app_distribution 0.2.9

generated on: 2021-05-17

Environment

✅ fastlane environment ✅

Stack

Key Value
OS 11.3.1
Ruby 3.0.1
Bundler? true
Git git version 2.31.1
Installation Source ~/.rbenv/versions/3.0.1/bin/fastlane
Host macOS 11.3.1 (20E241)
Ruby Lib Dir ~/.rbenv/versions/3.0.1/lib
OpenSSL Version OpenSSL 1.1.1k 25 Mar 2021
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 12.5

System Locale

Variable Value
LANG en_US.UTF-8
LC_ALL en_US.UTF-8
LANGUAGE

fastlane files:

`./fastlane/Fastfile`
platform :android do
  project_dir = "android"
  build_dir = "build_android"

  desc "Deploy a new version to the Google Play Store"
  lane :release do
    ensure_env_vars(
      env_vars: ['CI_COMMIT_TAG', 'ANDROID_KEYSTORE_PATH', 'ANDROID_KEYSTORE_PASS', 'ANDROID_KEY_ALIAS', 'ANDROID_KEY_PASS']
    )

    version_number = get_version_number_from_env()

    gradle(
      task: "clean assembleProductionRelease",
      project_dir: project_dir,
      print_command: !is_ci,
      print_command_output: !is_ci,
      properties: {
        "appVersionCode" => build_number,
        "appVersionName" => ENV['CI_COMMIT_TAG'],
        "android.injected.signing.store.file" => ENV['ANDROID_KEYSTORE_PATH'],
        "android.injected.signing.store.password" => ENV['ANDROID_KEYSTORE_PASS'],
        "android.injected.signing.key.alias" => ENV['ANDROID_KEY_ALIAS'],
        "android.injected.signing.key.password" => ENV['ANDROID_KEY_PASS']
      }
    )

    upload_to_play_store(
      version_code: build_number,
      version_name: ENV['CI_COMMIT_TAG'],
      metadata_path: "fastlane/metadata/android",
      skip_upload_images: true,
      skip_upload_screenshots: true
    )
  end
end
`./fastlane/Appfile`
app_identifier("") # The bundle identifier of your app
apple_id("") # Your Apple email address

itc_team_id("") # App Store Connect Team ID
team_id("") # Developer Portal Team ID

json_key_file("json_key.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one

package_name("") # e.g. com.krausefx.app

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem Version Update-Status
fastlane 2.183.0 ✅ Up-To-Date

Loaded fastlane plugins:

Plugin Version Update-Status
fastlane-plugin-firebase_app_distribution 0.2.9 ✅ Up-To-Date
fastlane-plugin-badge 1.5.0 ✅ Up-To-Date
Loaded gems
Gem Version
did_you_mean 1.5.0
bundler 2.2.17
tsort 0.1.0
uri 0.10.1
pathname 0.1.0
rake 13.0.3
CFPropertyList 3.0.3
public_suffix 4.0.6
addressable 2.7.0
artifactory 3.0.15
atomos 0.1.3
aws-eventstream 1.1.1
aws-partitions 1.456.0
aws-sigv4 1.2.3
jmespath 1.4.0
aws-sdk-core 3.114.0
aws-sdk-kms 1.43.0
aws-sdk-s3 1.94.1
babosa 1.0.4
fastimage 2.2.3
colored 1.2
highline 2.0.3
commander 4.6.0
dotenv 2.7.6
emoji_regex 3.2.2
excon 0.81.0
faraday-excon 1.1.0
faraday-net_http 1.0.1
faraday-net_http_persistent 1.1.0
multipart-post 2.0.0
ruby2_keywords 0.0.4
faraday 1.4.1
unf_ext 0.0.7.7
unf 0.1.4
domain_name 0.5.20190701
http-cookie 1.0.3
faraday-cookie_jar 0.0.7
faraday_middleware 1.0.0
gh_inspector 1.1.3
jwt 2.2.3
memoist 0.16.2
multi_json 1.15.0
os 1.1.1
signet 0.15.0
googleauth 0.16.2
httpclient 2.8.3
mini_mime 1.1.0
declarative 0.0.20
trailblazer-option 0.1.1
uber 0.1.0
representable 3.1.1
retriable 3.1.2
rexml 3.2.5
webrick 1.7.0
google-apis-core 0.3.0
google-apis-androidpublisher_v3 0.2.0
google-apis-playcustomapp_v1 0.2.0
digest-crc 0.6.3
google-apis-iamcredentials_v1 0.3.0
google-apis-storage_v1 0.3.0
google-cloud-env 1.5.0
google-cloud-errors 1.1.0
google-cloud-core 1.6.0
google-cloud-storage 1.31.0
json 2.5.1
mini_magick 4.11.0
naturally 2.2.1
plist 3.6.0
rubyzip 2.3.0
security 0.1.3
simctl 1.6.8
terminal-notifier 2.0.0
unicode-display_width 1.7.0
terminal-table 1.8.0
tty-screen 0.8.1
tty-cursor 0.7.1
tty-spinner 0.9.3
word_wrap 1.0.0
claide 1.0.3
colored2 3.1.2
nanaimo 0.3.0
xcodeproj 1.19.0
rouge 2.0.7
xcpretty 0.3.0
xcpretty-travis-formatter 1.0.1
badge 0.13.0
fastlane-plugin-badge 1.5.0
fastlane-plugin-firebase_app_distribution 0.2.9

generated on: 2021-05-17

@max-ott max-ott added the tool: supply upload_to_playstore label May 17, 2021
@ainame
Copy link
Contributor

ainame commented May 17, 2021

I'll have a look at this later 👀

@fastlane-bot
Copy link

The pull request #18699 that closed this issue was merged and released as part of fastlane 2.183.1 🚀
Please let us know if the functionality works as expected as a reply here. If it does not, please open a new issue. Thanks!

@edouardruiz
Copy link
Author

Hi, thanks for the quick fix! I still have some similar errors though... I guess you need to do the same change in upload_changelog in uploader.rb?

@ainame
Copy link
Contributor

ainame commented May 18, 2021

Sorry for the inconenience! We've fixed both errors you pointed and gone through existing classes in supply but please let us know if you still get errors further🙇

@edouardruiz
Copy link
Author

Thanks again for the quick reply! Shall I wait for the new version to be released to test?

@ainame ainame reopened this May 18, 2021
@ainame
Copy link
Contributor

ainame commented May 18, 2021

#18705 v2.183.2 is coming. It would be released today or tomorrow.
In the meantime, you can test it with the master branch.

gem 'fastlane', git: 'https://github.com/fastlane/fastlane.git', branch: 'master'

@edouardruiz
Copy link
Author

It's working now with the master branch. Thanks!

@ainame
Copy link
Contributor

ainame commented May 18, 2021

Thank you for testing! Really appreciate it!

@ainame
Copy link
Contributor

ainame commented May 18, 2021

2.183.2 was released. I'm going to close this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants