fastlane-plugin-firebase_test_lab icon indicating copy to clipboard operation
fastlane-plugin-firebase_test_lab copied to clipboard

How to fix issue with google cloud storage conflict

Open Anhelme opened this issue 4 years ago • 10 comments

Could you help me to fix problem with cloud storage conflict in your plugin Error loading plugin 'fastlane-plugin-firebase_test_lab': Unable to activate fastlane-plugin-firebase_test_lab-1.0.7, because google-cloud-storage-1.26.1 conflicts with google-cloud-storage (~> 1.25.1)

Anhelme avatar Jun 22 '20 08:06 Anhelme

Usually you just need to add the plugin to Pluginfile manually and then run bundle update google-cloud-storage. The command will try to resolve your version dependencies and downgrade the gem to 1.25.1. Not the best solution but it will work. The proper solution is to fix a version requirement in this plugin by using ~> 1.25 (>=1.25.0 but < 2.0) instead of ~>1.25.1 (>=1.25.1 but < 1.26.0)

Vyazovoy avatar Sep 01 '20 20:09 Vyazovoy

Hello, has anyone found the solution for the google-cloud-storage issue? I am facing it on the 1.0.7 version.

Error loading plugin 'fastlane-plugin-firebase_test_lab': Unable to activate fastlane-plugin-firebase_test_lab-1.0.7, because google-cloud-storage-1.31.0 conflicts with google-cloud-storage (~> 1.25.1)

Thanks in advance.

smeetchavda avatar May 07 '21 19:05 smeetchavda

I personally don't have this problem with my fork, but i think the solution tried by Valdero will solve this, see here You could try to make a fork @smeetchavda and check. @powerivq what do you think?

MartyCatawiki avatar May 10 '21 07:05 MartyCatawiki

Thank you @MartyCatawiki. It worked 🎉

smeetchavda avatar May 10 '21 20:05 smeetchavda

I had to manually uninstall other versions of the gem and install manually only the one specified into the error, I think that if the gemspec file is changed as mentioned by @Vyazovoy it should work just fine, though I'm having issues with testplans on this plugin, which is a different thread/issue than this one.

dennismozart1994 avatar May 10 '21 21:05 dennismozart1994

Hey, all. The fix is now in master. @joshdholtz do you have permission to publish?

powerivq avatar May 11 '21 17:05 powerivq

@powerivq Yup yup! I will get that out in a bit 💪

joshdholtz avatar May 11 '21 17:05 joshdholtz

Thanks for the fix; any idea when this will be published? whilst I can point a Gemfile at master I can't do the same in a Gemspec; we need a version 1.0.8.

marc-48k avatar Jun 04 '21 05:06 marc-48k

Would like to see this published as well. There now is a version conflict updating to fastlane 2.185.0 because of the GCS version spec.

waltarmour avatar Jun 10 '21 22:06 waltarmour

Looks like the published version is the 1.0.2. I fixed this issue by adding gem 'fastlane-plugin-firebase_test_lab', git: 'https://github.com/fastlane/fastlane-plugin-firebase_test_lab' in PluginFile, then bundle install

Te-Z avatar Sep 09 '21 13:09 Te-Z