fastlane-community / fastlane-plugin-appicon

Generate required icon sizes and iconset from a master application icon.
MIT License
337 stars 52 forks source link

Error loading plugin 'fastlane-plugin-appicon' #52

Open karltaylor opened 4 years ago

karltaylor commented 4 years ago

When I run this through my Bitrise CI enviroment I get the following error...

Error loading plugin 'fastlane-plugin-appicon': Unable to activate fastlane-plugin-appicon-0.14.1, because mini_magick-4.5.1 conflicts with mini_magick (>= 4.9.4, < 5.0.0)

I ran fastlane update_plugins locally but it didn't change anything. Is this something I should run in CI?

Any ideas?

udayasri commented 4 years ago

Exact same issue here , any help on this ?

fortydegrees commented 4 years ago

Same. It's maddening

Updating plugin dependencies... Installing locked Bundler version 2.0.2... Installing the inferred bundler version (= 2.0.2) failed. If you'd like to update to the current bundler version (1.14.6) in this project, run bundle update --bundler. The error was: bundler requires Ruby version >= 2.3.0. david@Davids-MacBook-Pro-2 ios % bundler -v Bundler version 2.0.2 david@Davids-MacBook-Pro-2 ios % ruby -v ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]

shnaz commented 4 years ago

I have same issue, I had to stop using the plugin entirely(removed form fastlane/PluginFile). :/

simonheys commented 4 years ago

gem update fixed this for me

karltaylor commented 4 years ago

I just had to redo this because I had fastlane installed and installed via brew so I just started from kind of started-from-scratch...

I installed Ruby from homebrew as it's safer than using the one that is shipped with Mac.

brew install ruby

# You will then want to add the new ruby path to your bash_profile.

# You can use ~/.bash_profile or ~/.zshrc depending on what shell you are using.
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.zshrc

# You then need to source this new file, or close & re-open the terminal.
source ~/.zshrc

Then I installed bundler:

gem install bundler

Then I did

cd ios && bundle install

And then magically, it worked 🤷‍♂️