Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicting xcpretty version when using Fastlane #159

Open
rs-georg opened this issue Aug 17, 2018 · 1 comment · May be fixed by Backelite/xcpretty#1
Open

Conflicting xcpretty version when using Fastlane #159

rs-georg opened this issue Aug 17, 2018 · 1 comment · May be fixed by Backelite/xcpretty#1

Comments

@rs-georg
Copy link

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)
@gaelfoppolo
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants