You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ready for Sale has been renamed to Ready for Distribution, and now indicates that your app can be published. To view if your app is available on the App Store, visit Pricing and Availability.
Complete output when running fastlane, including the stack trace and command used
[✔] 🚀
[16:33:17]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[16:33:18]: Login to App Store Connect (xxxxxx)
[16:33:19]: Login successful
🔗 You can ⌘ + double-click on links to open them directly in your browser.
/Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/fastlane-2.219.0/deliver/lib/deliver/setup.rb:70:in generate_metadata_files': \e[31m[!] undefined method get_app_info_localizations' for nil:NilClass (NoMethodError)
app_info_localizations = app_info.get_app_info_localizations
^^^^^^^^^^^^^^^^^^^^^^^^^^^\e[0m
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/fastlane-2.219.0/deliver/lib/deliver/commands_generator.rb:181:in `block (2 levels) in run'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/fastlane-2.219.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/fastlane-2.219.0/deliver/lib/deliver/commands_generator.rb:187:in `run'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/fastlane-2.219.0/deliver/lib/deliver/commands_generator.rb:18:in `start'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/cli_tools_distributor.rb:115:in `take_off'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/fastlane-2.219.0/bin/fastlane:23:in `<top (required)>'
from /Users/xxx/.asdf/installs/ruby/3.1.4/bin/fastlane:25:in `load'
from /Users/xxx/.asdf/installs/ruby/3.1.4/bin/fastlane:25:in `<main>'
/Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/fastlane-2.219.0/deliver/lib/deliver/setup.rb:70:in generate_metadata_files': undefined method get_app_info_localizations' for nil:NilClass (NoMethodError)
app_info_localizations = app_info.get_app_info_localizations
^^^^^^^^^^^^^^^^^^^^^^^^^^^
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/fastlane-2.219.0/deliver/lib/deliver/commands_generator.rb:181:in `block (2 levels) in run'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/fastlane-2.219.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/fastlane-2.219.0/deliver/lib/deliver/commands_generator.rb:187:in `run'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/fastlane-2.219.0/deliver/lib/deliver/commands_generator.rb:18:in `start'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/cli_tools_distributor.rb:115:in `take_off'
from /Users/xxx/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/fastlane-2.219.0/bin/fastlane:23:in `<top (required)>'
from /Users/xxx/.asdf/installs/ruby/3.1.4/bin/fastlane:25:in `load'
from /Users/xxx/.asdf/installs/ruby/3.1.4/bin/fastlane:25:in `<main>'
Hi, I spent time investigating what could be the cause of the issue from logs - missing app_info that causes fastlane crash when you're trying to download metadata.
I checked fastlane code, changes in AppstoreConnect API and checked what requests are sent in web browser on AppstoreConnect page and I don't think that the issue is caused by those API changes. It looks more of an issue with data.
During investigation I found out that I have a released app that doesn't have app_info related to proper app store version of the app, it relates to REPLACED_WITH_NEW_VERSION app store state and is somehow incomplete and downloading metadata fails the same way as in attached logs.
New Issue Checklist
Issue Description
An error occurs when
fastlane deliver download_metadata
is executed for an app whose status on AppStoreConnect isReady for Distribution
.I think this is happening because Apple changed the wording of AppStatus.
Command executed
Complete output when running fastlane, including the stack trace and command used
Environment
The text was updated successfully, but these errors were encountered: