Forum

    • Register
    • Login
    • Search
    • Categories

    I hate MacOS

    General Questions
    5
    7
    174
    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.
    • iamlamprey
      iamlamprey last edited by

      hello again friends 🙂 I've been trying to compile my plugin for a fair bit now without any success. I'm new to Mac so please speak as though you would to a small child, or a golden retriever

      1. got Xcode working and compiled HISE
      2. fixed the script node issues with my plugin
      3. upon exporting, I receive
      /Users/cmac/Documents/NEATplayer/Binaries/batchCompileOSX: line 6: xcpretty: command not found
      

      So doing a quick forum search, I'm supposed to have xcpretty right?

      then I try and install that using gem install xcpretty and receive permissions errors...

      ERROR:  While executing gem ... (Gem::FilePermissionError)
          You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.
      

      SO THEN apparently I'm supposed to install it using sudo, which I couldn't get working. but another stack overflow post said I should install it specifically for this user using gem install xcpretty --user-install

      and then I am proudly presented with:

      WARNING:  You don't have /Users/cmac/.gem/ruby/2.6.0/bin in your PATH,
      	  gem executables will not run.
      

      this is about as far as I got so as to avoid putting my arm through my screen, so if anyone knows what on earth I should be doing please do let me know 😂

      should I just delete all this crap, make a sudo account and do everything over there? or can this work with just a regular login

      thanks in advance!

      Music - Instruments

      ustk 1 Reply Last reply Reply Quote 2
      • ustk
        ustk @iamlamprey last edited by ustk

        @iamlamprey using xcpretty is not mandatory. This is useful if you absolutely want to build from one click in hise.
        But the jucer file should have been generated, so you can compile your plugin/standalone from projucer/xcode the same way you do for Hise
        This is what I do every time now so I can check/change some flags if necessary

        I can't help pressing F5 in the forum...

        iamlamprey 1 Reply Last reply Reply Quote 1
        • iamlamprey
          iamlamprey @ustk last edited by

          @ustk said in I hate MacOS:

          But the jucer file should have been generated, so you can compile your plugin/standalone from projucer/xcode the same way you do for Hise

          Oh sweet, that should work. I'll test it when my blood pressure returns to normal levels 😉 thank you!

          Music - Instruments

          Christoph Hart orange 2 Replies Last reply Reply Quote 0
          • Christoph Hart
            Christoph Hart @iamlamprey last edited by

            apparently I'm supposed to install it using sudo, which I couldn't get working

            Just a general advice: if you're planning to do anything software development related on macOS having sudo access is pretty much obligatory - there are many steps in the product creation phase which require it so better get it sorted at the beginning.

            iamlamprey 1 Reply Last reply Reply Quote 2
            • orange
              orange @iamlamprey last edited by orange

              @iamlamprey Can you try below instructions:

              • Click Gem file in the xcpretty download package. (It will open the Terminal)

              • Then paste this code: sudo gem install xcpretty into the Terminal, press enter

              • In the Terminal, it will ask you the password of your mac. Type your password, press enter. If you don't use a password for your mac, first you'd better to take a password, then try that instructions.

              develop Branch / XCode 13.1
              macOS Monterey / M1 Max

              1 Reply Last reply Reply Quote 2
              • DabDab
                DabDab last edited by

                @iamlamprey Hi Five to your Thread titile.. 👍

                Trance Producer and Presets Designer.

                1 Reply Last reply Reply Quote 1
                • iamlamprey
                  iamlamprey @Christoph Hart last edited by

                  @ustk You're right it compiles without any issues just using Xcode 😄 thank you!

                  @christoph-hart Roger that. I'll have to bite the bullet and set it up properly then

                  @orange I'll try that later today after my coffee has set in 🙂 thank you

                  @DabDab hahaahah its so backwards coming from windows..

                  Music - Instruments

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

                  15
                  Online

                  1.1k
                  Users

                  6.7k
                  Topics

                  62.1k
                  Posts