How To Install xcpretty
-
how to do install xcpretty?
$ gem install xcpretty
-
Why do you post a question if you already post the answer for it :) ?
It's a terminal command. Just open a terminal window and type
gem install xcpretty
. -
@christoph-hart Because I'm receiving a message of error
-
@jay So what is the error? You should give more information, in order to solve that :)
-
@christoph-hart said in How To Install xcpretty:
gem install xcpretty.
Hello there everyone!! I am having an error trying to install this myself. I have done some searching and found some stuff but nothing seems to fix the error. Here is mine, @jay might be different.
ERROR: Could not find a valid gem 'xcpretty.' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert protocol version (https://rubygems.org/latest_specs.4.8.gz) -
@jskeen I resolved, I have the same problem you're facing
-
On osx, give your password
sudo gem install xcprettyMonster:~ dan$ sudo gem install xcpretty
Password:
Fetching: rouge-2.0.7.gem (100%)
Successfully installed rouge-2.0.7
Fetching: xcpretty-0.2.8.gem (100%)
Successfully installed xcpretty-0.2.8
Parsing documentation for rouge-2.0.7
Installing ri documentation for rouge-2.0.7
Parsing documentation for xcpretty-0.2.8
Installing ri documentation for xcpretty-0.2.8
Done installing documentation for rouge, xcpretty after 4 seconds
2 gems installed -
@danial, Hi i run the command given by you. But i am getting below error.
sudo gem install xcpretty
Password:
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: xcpretty requires rouge (~> 1.8)Could you please help me out. What i am missing while installation?
-
@deepali-aggarwal Did you figure this out? I think it's expecting you to enter your password.
-
Just remove your password for this installation.
Install gems with "sudo gem install xcpretty" that explained before, you should be able to install now
After installation, you can define your password again.I've faced this problem before, I removed password and after that I've managed to install xcpretty. It's about the security bullshit especially after the macOS Sierra and higher versions.
-
Hi guys, I have tried the suggestions above but still the following error:
ERROR: Could not find a valid gem 'xcpretty.' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert protocol version (https://rubygems.org/latest_specs.4.8.gz)I'm a complete newbie and have been trying to get around this for the last 3 hours
To be clear I have tried:
gem install xcpretty
and
sudo gem install xcprettyI've also tried to completely remove my admin password but the error persists.
Any thoughts or help appreciated guys.
Thanks,
Lee
-
@LeeC I just saw that you had the same problem as me, have you now found a solution? if yes i don't mind ...;)
-
@yall I honestly can't remember what I did to get around that...
What operating system is your Mac and what version of Xcode are you using?