Scriptnode DSP Compilation help (again!)
-
@ustk yes
-
@danh The code generator is still a bit rough around the edges, but that's why I've created the scriptnode testsuite repository.
Issues · christophhart/scriptnode_testsuite
The testsuite for scriptnode using the SNEX workbench - Issues · christophhart/scriptnode_testsuite
GitHub (github.com)
Please submit this example (exported as snippet) as an issue, then I'll add a test case and make sure it compiles.
-
@christoph-hart Thanks have done that (message is from DHPlugs...)
I did also try to make from scratch is a fresh project but the same errors happened.
Thanks for the help - When will I know if/when you've had a look? On GitHub?
-
@christoph-hart It's compiled! Thankyou Thankyou Thankyou!! :folded_hands:
PS - When I try to compile the plugin I'm still getting the Ad Hoc error below:
❌ error: Ad Hoc code signing is not compatible with the Hardened Runtime. Sign with a Mac Developer certificate or disable the Hardened Runtime by setting the ENABLE_HARDENED_RUNTIME build setting to NO. (in target 'HALO - App')
-
@danh That error is pretty clear. You're trying to code sign from xcode by the look of it and you have hardened run time enabled.
-
@d-healey Weird though because I've not done anything different, just built latest Develop and this suddenly appears. If I roll back a couple of commits it's fine... I've no idea how to turn the Hardened thing off either
-
-
@christoph-hart Thanks!
-
@christoph-hart So this was Disabled by default. I built again with it set to Disabled, and the same has happened. I switched it to on and I couldn't even build HISE in XCode. Am I the only one with this error?
-
@danh Are you saying this is enabled in your project's .jucer file or in the HISE .jucer file? or both?
-
@d-healey both... although in the project it was enabled, and re-enabled itself even after I switched it off
-
@d-healey @Christoph-Hart when I hit compile in HISE it seems to switch my project's Hardened Runtime setting to enabled again....
-
@danh said in Scriptnode DSP Compilation help (again!):
when I hit compile in HISE it seems to switch my project's Hardened Runtime setting to enabled again....
There is no "compile" in HISE ;) When you export from HISE it generates a new .jucer file, so that will overwrite any changes you made to the one you edited.
-
@d-healey sorry, yes exactly. I wonder why it's decided to flip that setting off from the default setting to enabled all of a sudden
-
@danh seems that I always have it enabled, using the last Hise version and an older one (about 3 weeks older)
The Jucer info says it is required for app notarization, so "enabled" seems to be the right default setting -
@ustk Thanks, are you able to export a plugin from HISE?
-
If enabled is the correct setting then the other half of the error message is the problem, ad-hoc signing. Are you code signing through xcode?
-
@d-healey I'm not trying to codesign at all. I do all that separately in terminal. I've changed nothing in Xcode, my project etc except using latest develop
-
@danh Have you put anything in here?
-
@d-healey nope, just filled it in with my email as per my dev account with Apple. Saved, restarted, same error.