sonar-swift
sonar-swift copied to clipboard
Conflicting xcpretty version when using Fastlane
I'm using Fastlane to create and upload the metrics. However, there is a conflict regarding the version of xcpretty. According to the docs xcpretty 0.2.2 w/ the fix is required. Fastlane, however, requires 0.2.8.
Here is the result of bundle install
Bundler could not find compatible versions for gem "xcpretty":
In Gemfile:
xcpretty (= 0.2.2)
fastlane-plugin-lizard was resolved to 1.1.1, which depends on
fastlane was resolved to 2.102.0, which depends on
xcpretty (~> 0.2.8)
Could not find gem 'xcpretty (~> 0.2.8)', which is required by gem 'fastlane', in any of the relevant sources:
https://github.com/Backelite/xcpretty.git (at fix/duration_of_failed_tests_workaround@4ad2c4e)
Here is my Gemfile
source "https://rubygems.org"
gem "fastlane"
gem "xcode-install"
gem "slather"
gem "xcpretty", '0.2.2', :git => "https://github.com/Backelite/xcpretty.git", :branch => "fix/duration_of_failed_tests_workaround"
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)
To fix this issue, the fork of xcpretty should integrate newer changes of the official repo. Can you perform the changes and submit a PR?