ebelair / icon-banner

🚩 IconBanner adds custom nice-looking banners over your mobile app icons 📱
MIT License
34 stars 8 forks source link

No implicit conversion of Hash into String on execution #2

Closed TheNewCivilian closed 2 years ago

TheNewCivilian commented 3 years ago

Hi there! Trying out icon-banner the following error poped up for me:

[13:22:48]: no implicit conversion of Hash into String

+------+--------------------------------+-------------+
|                  fastlane summary                   |
+------+--------------------------------+-------------+
| Step | Action                         | Time (in s) |
+------+--------------------------------+-------------+
| 1    | default_platform               | 0           |
| 2    | Switch to android ibn lane     | 0           |
| 3    | android_increment_version_code | 0           |
| 4    | Switch to android ivn lane     | 0           |
| 5    | android_increment_version_name | 0           |
| 💥   | icon_banner                    | 1           |
+------+--------------------------------+-------------+

[13:22:48]: fastlane finished with errors

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

➡️  app_store_connect_api_key no implicit conversion of Hash into String
    https://github.com/fastlane/fastlane/issues/18176 [closed] 2 💬
    6 weeks ago

➡️  Can't update fastlane with gem
    https://github.com/fastlane/fastlane/issues/17884 [closed] 3 💬
    08 Mar 2021

➡️  How to read Shell Curl output into a variable
    https://github.com/fastlane/fastlane/issues/16323 [closed] 3 💬
    20 Jun 2020

and 8 more at: https://github.com/fastlane/fastlane/search?q=no%20implicit%20conversion%20of%20Hash%20into%20String&type=Issues&utf8=✓

bundler: failed to load command: fastlane (/home/thenewcivilian/Projects/102_app_cargorocket/CargoRocketApp/vendor/bundle/ruby/3.0.0/bin/fastlane)
/home/thenewcivilian/Projects/102_app_cargorocket/CargoRocketApp/vendor/bundle/ruby/3.0.0/gems/mini_magick-4.9.5/lib/mini_magick/image.rb:105:in `initialize': \e[31m[!] no implicit conversion of Hash into String\e[0m (TypeError)

Did I make a mistake in setting up the plugin? Is the current ruby version supported? I also tried providing the color parameter. Unfortunately It still promted this error. Please let me know if I can provide more insight into this case.

doubleo2 commented 2 years ago

I ran into this issue too. Switching to Ruby 2.6 fixed it

celian-m commented 1 year ago

@doubleo2 How did you do that ? Current Ruby version is 3.1x with Mac OS Ventura. I assume that the plugin should work with the last ruby version?