Comments (5)
I commented on #21530 while my precise issue was this one, I was doing fastlane supply init
. I can confirm that the problem was not having a production release. We had internal testing release, closed testing release, but we did not have any production release and that caused this undefined method problem.
from fastlane.
Same problem here ! Please fix. I run 2.216.0
from fastlane.
Disappointing that this has received no attention since being logged in September.
I have the same issue - and it does seem to be related to getting change logs. I am sure this worked before I added some release notes to a release on an internal track. I wanted to verify the proper directory structure and file name for future deployments when I want to include a change log, so I thought the best way to do so was to add release notes in the console then download them with supply init
. Doing so results in the error in the OP.
EDIT: I deleted the release notes in the console and still get this error, so perhaps not related after all. It just fails regardless.
from fastlane.
Seems this is my problem: #21505
from fastlane.
Similar problem here:
- Windows 10
- ruby version: 3.2.2
- fastlane version: 2.217.0
Full error log:
$ fastlane supply init
[✔] 🚀
[12:47:57]: 🕗 Downloading metadata, images, screenshots...
[12:47:59]: 📝 Downloading metadata (en-US)
[12:47:59]: Writing to metadata/en-US/title.txt...
[12:47:59]: Writing to metadata/en-US/short_description.txt...
[12:47:59]: Writing to metadata/en-US/full_description.txt...
[12:47:59]: Writing to metadata/en-US/video.txt...
[12:47:59]: 🖼️ Downloading images (en-US)
[12:47:59]: Downloading `featureGraphic` for en-US...
[12:48:00]: Downloaded - metadata/en-US/images/featureGraphic.jpeg
[12:48:00]: Downloading `icon` for en-US...
[12:48:01]: Downloaded - metadata/en-US/images/icon.png
[12:48:01]: Downloading `tvBanner` for en-US...
[12:48:01]: Downloading `phoneScreenshots` for en-US...
[12:48:03]: Downloaded - metadata/en-US/images/phoneScreenshots/1_en-US.png
[12:48:03]: Downloaded - metadata/en-US/images/phoneScreenshots/2_en-US.png
[12:48:03]: Downloading `sevenInchScreenshots` for en-US...
[12:48:04]: Downloaded - metadata/en-US/images/sevenInchScreenshots/1_en-US.png
[12:48:05]: Downloaded - metadata/en-US/images/sevenInchScreenshots/2_en-US.png
[12:48:05]: Downloading `tenInchScreenshots` for en-US...
[12:48:05]: Downloaded - metadata/en-US/images/tenInchScreenshots/1_en-US.jpeg
[12:48:06]: Downloaded - metadata/en-US/images/tenInchScreenshots/2_en-US.jpeg
[12:48:06]: Downloading `tvScreenshots` for en-US...
[12:48:06]: Downloading `wearScreenshots` for en-US...
Looking for related GitHub issues on fastlane/fastlane...
➡️ undefined method `size' for nil:NilClass
https://github.com/fastlane/fastlane/issues/21530 [open] 4 💬
5 days ago
➡️ Fastlane supply init: undefined method `name' for nil:NilClass
https://github.com/fastlane/fastlane/issues/21529 [open] 3 💬
a week ago
➡️ undefined method `*' for nil:NilClass frameit
https://github.com/fastlane/fastlane/issues/21496 [open] 3 💬
20 Sep 2023
and 496 more at: https://github.com/fastlane/fastlane/search?q=undefined%20method%20%60name%27%20for%20nil&type=Issues&utf8=✓
C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/supply/lib/supply/client.rb:303:in `block in latest_version': [!] undefined method `name' for nil:NilClass (NoMethodError)
latest_version = tracks.select { |t| t.track == Supply::Tracks::DEFAULT }.map(&:releases).flatten.reject { |r| r.name.nil? }.max_by(&:name)
^^^^^
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/supply/lib/supply/client.rb:303:in `reject'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/supply/lib/supply/client.rb:303:in `latest_version'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/supply/lib/supply/setup.rb:19:in `perform_download'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/supply/lib/supply/commands_generator.rb:55:in `block (2 levels) in run'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/supply/lib/supply/commands_generator.rb:61:in `run'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/supply/lib/supply/commands_generator.rb:13:in `start'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/cli_tools_distributor.rb:115:in `take_off'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/bin/fastlane:23:in `<main>'
C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/supply/lib/supply/client.rb:303:in `block in latest_version': undefined method `name' for nil:NilClass (NoMethodError)
latest_version = tracks.select { |t| t.track == Supply::Tracks::DEFAULT }.map(&:releases).flatten.reject { |r| r.name.nil? }.max_by(&:name)
^^^^^
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/supply/lib/supply/client.rb:303:in `reject'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/supply/lib/supply/client.rb:303:in `latest_version'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/supply/lib/supply/setup.rb:19:in `perform_download'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/supply/lib/supply/commands_generator.rb:55:in `block (2 levels) in run'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/supply/lib/supply/commands_generator.rb:61:in `run'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/supply/lib/supply/commands_generator.rb:13:in `start'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/cli_tools_distributor.rb:115:in `take_off'
from C:/Users/garbade/.local/share/gem/ruby/3.2.0/gems/fastlane-2.217.0/bin/fastlane:23:in `<main>'
from fastlane.
Related Issues (20)
- No code signing identity found and can not create a new one because you enabled `readonly` HOT 8
- Can't able to set privacy_url via upload_to_app_store for iOS.
- display_name value is not working as expected if i add special character reference inside it.
- bundled ox breaks bundle console
- Code Signing of iOS IPA is very unreliable on GitLab CI/CD HOT 2
- [spaceship] fails when user doesn't have a team on App Store Connect HOT 1
- Missing ffi library in tests on Ruby 3.1 on Windows HOT 1
- "fastlane snapshot reset_simulators" no longer deletes simulators HOT 1
- fastlane does not like GCS buckets with manually created folders HOT 3
- [iOS] deliver action error | altool - Unable to upload archive | Failed to generate JWT token HOT 2
- Can't upload screenshot by deliver: An exception occurred for locale: en-US. Check the screenshot requirements here HOT 3
- Failed to open TCP connection to www.googleapis.com:443 HOT 1
- Unexpected token when using appstore connect api key as json file
- Deliver fails to create a new app version on App Store Connect HOT 26
- testflight Action Fails with Error -1010 on CI/Jenkins After Updating to Xcode 15 HOT 1
- REOPEN - Create_app_online services not working
- Fastlane match failing to create profile for OneSignalNotificationServiceExtension
- Assistance Needed with Jira Action Method Error in Fastlane HOT 2
- Keyword argument default value doesn't seem to work HOT 3
- SPACESHIP_2FA_SMS_DEFAULT_PHONE_NUMBER not recognizing phone numbers with codes +371, +372, +48
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane.