I hate MacOS
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
- got Xcode working and compiled HISE
- fixed the script node issues with my plugin
- 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 xcprettyand 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!
@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
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 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 xcprettyinto 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.
@iamlamprey Hi Five to your Thread titile.. (y)