Plugin compiled on macOS Catalina for R23, not working on Big Sur?
-
Ah, ok. I've got that enabled, too. I guess adding a timestamp doesn't hurt.
-
@kbar said in Plugin compiled on macOS Catalina for R23, not working on Big Sur?:
@fwilleke80 I think setting the hardened runtime when you code sign solves the timestamp issue. I don’t set a timestamp.
codesign --force --options runtime --sign 'Developer ID Application: YOURCOMPANYNAME' 'sdk/plugins/yourplugin/yourplugin.xlib'
Thanks a lot Kent, for pointing this out!
The one below is the string I use which, as said by Kent, doesn't need the timestamp because of the hardened runtime.
codesign -f -s "Developer ID Application: <YOUR DEV ID>" --options runtime <binary file>.xlib
Documentation updated accordingly