Mac OS build problems
-
Hello,
I’m a beginner to using HISE. This is my first post on this forum.
I’m having problems building to a standalone Mac application and Mac AU and VST plugins.
I have installed Xcode Beta 6 as well as the command line dev tools.
I’m getting security errors about Projucer. The Terminal window opens and it says it’s completed but nothing gets compiled. At one point it looks like it built the Mac app but the app icon has a slash through it like it’s not compatible or something.
I watched a ton of YouTube videos to try to figure this out but no luck. I even downloaded that Mac shell script and followed all the directions but it just never worked.
Are there other HISE users using the Mac version of HISE? Can anyone help point me in the right direction?
I created a HISE project and built a virtual instrument with a sample and other synthesis and effects and it plays fine with my MIDI keyboard and I was able to create a full GUI with knobs and a preset browser… everything works great. I just need to figure out how to export it to a Mac standalone app and AU / VST3.
Oh, I’m using a 2019 multi core Intel iMac with 40gb RAM and latest Ventura OS if that has anything to do with it.
-
I am a Mac dev. The key to me being able to compile was not changing any of the compile flags, or trying to customize or change any settings.
My first suggestion is not to use beta development software.
The icon you describe could mean that an ARM build was created which won't run on your architecture.
-
Thanks for your support! Much appreciated!
I didn’t change any compile flags … don’t even know what they are.
I meant to say Xcode 15 beta 6 …. Only reason I installed that version is because I’m also interested in developing for visionOS. Didn’t think that would cause an issue for regular iOS and macOS builds though.
Any idea why HISE was issues launching Projucer ? I get an error message from Apple saying that it’s blocking Projucer from opening because it thinks it’s not secure or something .
-
@ElectroBlue You'll need to launch Projuicer by right-clicking on the app icon, and then choosing OPEN from the contextual menu—that will allow you to manually bypass Ventura's security.
-
@ElectroBlue When trying to launch Projucer this will show up
Then you can run this in terminal:
xattr -cr / the path to Projucer
So for me that will look like this:xattr -cr /Users/ulrikboden/Music/HISE-develop/tools/projucer/Projucer.app
press return and then try to open Projucer
-
@ElectroBlue said in Mac OS build problems:
Xcode Beta 6
this: "Xcode Beta 6" - might cause you problems later down the line... check what the preferred XCode version is for HISE...
-
@Lindon as soon as Xcode 15 is out of beta I‘ll make sure that it works because it has a new linker that might bring down the compile time of HISE from 6 to 2 minutes..
-
@Christoph-Hart I might give that a try while it's still in beta
-
Wow! Thank you @Lindon @Christoph-Hart @clevername27 @ulrik @d-healey !! You guys are AWESOME!! I will give it another try with all of your suggestions and see how it goes and then report back. I'm so impressed with how supportive this community is! Thank you! Thank you!
-
HISE builds with Xcode 15 Beta 6, no problem. It took about 10-15 minutes in my VM, usually it would take 20-25 so that seems like an improvement.
-
@d-healey Ok so I don't need to uninstall Xcode 15 beta 6 then... that's good news
-
One thing I also confused about: Do I need to have JUCE installed also? Because at some point when I launched Projucer it said that there was a newer version available and it prompted me to download it. But now if I search my HD for Projucer there are like 4 different installs of it on my machine now... one with the JUCE install, one in the HISE source folder and a few other locations.
Also, I just downloaded the updated HISE 3.6 and now it won't even launch ... it just bounces up and down on my dock and not responding. I even restarted my iMac to see if that had anything to do with it....
-
This is my machine specs:
-
@ElectroBlue said in Mac OS build problems:
Do I need to have JUCE installed also
Everything you need (other than xcode and xcpretty) is included in the HISE source download. This includes a modified version of JUCE and the Projucer application.
But now if I search my HD for Projucer there are like 4 different installs of it on my machine now
Remove every copy of the HISE source code you have and start again.
Because at some point when I launched Projucer it said that there was a newer version available
Ignore that, click the button to disable it from popping up again.
-
@d-healey Ok, I deleted my JUCE download and JUCE install and removed and deleted all HISE source code as well as the HISE app in my Applications folder and started over.
I then went to the HISE website and downloaded the HISE 3.6 pkg file and the HISE 3.6 source code ZIP file. I installed the HISE 3.6 pkg file so the HISE app is now once again in my Applications folder. I unzipped the HISE 3.6 source code and created a new folder called "HISE Source" and moved the source code folder "HISE-3.6.0" into this new folder.
I then launched the HISE applications and it won't launch. It just bounces up and down and not responding.
-
@ElectroBlue Sounds like a permission issue. I'm assuming the pkg isn't signed.
Anyway forget about the prebuilt pkg. Your goal is to compile HISE, right? So just focus on doing that.
-
@d-healey Haha no, my goal was to export my HISE project to a Mac standalone app and AU and VST plugin formats. But if I have to actually compile HISE itself first before I do that then I'll do it ... if I can figure out how... remember I'm a beginner at this. lol
-
@ElectroBlue said in Mac OS build problems:
Haha no, my goal was to export my HISE project to a Mac standalone app and AU and VST plugin formats.
That's the same thing ;) Building HISE and building your plugin is the same process.
@ElectroBlue said in Mac OS build problems:
if I can figure out how... remember I'm a beginner at this. lol
I have videos on YouTube about this. Have you seen those?
-
@d-healey Also, I was going through the HISE docs and I downloaded the VST SDK from Steinberg's website. I wasn't sure about the Intel IPP because I'm on a Mac, but I'm on an Intel Mac so I guessed that maybe I need that too? But when I clicked on the link the page that opened said that that page was missing so there is a broken link in the documentation...
So I searched on the Intel website and found this: [link text] Intel Integrated Performance Primitives for Intel oneAPI Base Toolkit(https://www.intel.com/content/www/us/en/docs/ipp/get-started-guide-oneapi-macos/2022-2/overview.html)
and I installed it. Is that all I need to do for that part? -
@ElectroBlue said in Mac OS build problems:
was going through the HISE docs and I downloaded the VST SDK from Steinberg's website. I wasn't sure about the Intel IPP because I'm on a Mac, but I'm on an Intel Mac so I guessed that maybe I need that too?
Everything you need is included with the HISE source. You don't need to use IPP on Mac (in fact you don't need to use it on any OS, it's optional on Windows and Linux).