Ad Hoc Code Sign Error OSX
-
@orange I believe you can enable it during notarization but doing it during compilation makes xcode go funky.
-
OK, So I'm getting this too now on :
HISE 14th Feb build
MacOS Mojave
Intel chip
XCode 10.2.1..I will go set the flag... but I think it probably needs doing as a default...
-
@lindon said in Ad Hoc Code Sign Error OSX:
but I think it probably needs doing as a default...
Yes I agree @Matt_SF can you make a pull request for this?
-
@d-healey Apple says:
"To upload a macOS app to be notarized, you must enable the Hardened Runtime capability."
You can also read these:
https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution
https://developer.apple.com/documentation/security/hardened_runtime
@danh said in Ad Hoc Code Sign Error OSX:
@matt_sf just tested. Making the changes you suggested works and notarizes ok.
Have you checked it on the computers of the other users? Does it pass the notarization in these computers too?
Also since it works, for now, it doesn't mean that you won't get any errors in the forthcoming macOS versions or on the other users. Because Apple suggests using the Hardened Runtime enabled.
-
@orange I might be wrong but isn't it the case that you can't notarize a component / vst. You notarize the .pkg that you supply them in.
-
@d-healey said in Ad Hoc Code Sign Error OSX:
can you make a pull request for this?
I'd perhaps urge caution - on Big Sur my other machine didn't have an issue, so this could potentially break on more recent versions of osx.
In fact why don't I test that now...
-
@danh said in Ad Hoc Code Sign Error OSX:
@orange I might be wrong but isn't it the case that you can't notarize a component / vst. You notarize the .pkg that you supply them in.
The Hardened Runtime requirement is for the executables mainly. So standalone apps (exported from the Hise) will definately need it. But I believe that it could be needed for the plugins too.
-
@orange You don't need to do it through XCode. If you codesign via the command line (which is what my app does) you can use
--options runtime
to enable the hardened runtime during signing. -
@danh said in Ad Hoc Code Sign Error OSX:
In fact why don't I test that now...
I'm not available right now, but if you want we can exchange test plugins this evening to see what happens...
EDIT : if that works I'll make a pull request
-
@matt_sf I ran into an error whilst trying to build latest develop which I hadn’t seen before so I’ve left it for now
It’s never easy!!