HISE Logo Forum
    • Categories
    • Register
    • Login

    How To Install xcpretty

    Scheduled Pinned Locked Moved General Questions
    13 Posts 9 Posters 11.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JayJ
      Jay
      last edited by

      how to do install xcpretty?

      $ gem install xcpretty

      Joansi Villalona

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        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.

        JayJ 1 Reply Last reply Reply Quote 0
        • JayJ
          Jay @Christoph Hart
          last edited by

          @christoph-hart Because I'm receiving a message of error

          Joansi Villalona

          orangeO 1 Reply Last reply Reply Quote 0
          • orangeO
            orange @Jay
            last edited by

            @jay So what is the error? You should give more information, in order to solve that :)

            develop Branch / XCode 13.1
            macOS Monterey / M1 Max

            1 Reply Last reply Reply Quote 0
            • J
              JSkeen
              last edited by

              @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)

              JayJ 1 Reply Last reply Reply Quote 0
              • JayJ
                Jay @JSkeen
                last edited by

                @jskeen I resolved, I have the same problem you're facing

                Joansi Villalona

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User
                  last edited by

                  On osx, give your password
                  sudo gem install xcpretty

                  Monster:~ 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

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    Deepali Aggarwal @A Former User
                    last edited by

                    @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?

                    Dan KorneffD orangeO 2 Replies Last reply Reply Quote 0
                    • Dan KorneffD
                      Dan Korneff @Deepali Aggarwal
                      last edited by

                      @deepali-aggarwal Did you figure this out? I think it's expecting you to enter your password.

                      Dan Korneff - Producer / Mixer / Audio Nerd

                      1 Reply Last reply Reply Quote 0
                      • orangeO
                        orange @Deepali Aggarwal
                        last edited by

                        @deepali-aggarwal

                        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.

                        develop Branch / XCode 13.1
                        macOS Monterey / M1 Max

                        1 Reply Last reply Reply Quote 0
                        • L
                          LeeC
                          last edited by

                          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 xcpretty

                          I've also tried to completely remove my admin password but the error persists.

                          Any thoughts or help appreciated guys.

                          Thanks,

                          Lee

                          1 Reply Last reply Reply Quote 0
                          • Y
                            yall
                            last edited by

                            @LeeC I just saw that you had the same problem as me, have you now found a solution? if yes i don't mind ...;)

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              LeeC @yall
                              last edited by

                              @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?

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              42

                              Online

                              1.7k

                              Users

                              11.7k

                              Topics

                              101.9k

                              Posts