Open nestoleh opened 4 years ago
Hi, as you pointed out the issue starts in 8.242.08.2, this might be related to the MacOS signing. In 8.242.08.2, due to the enforcement of binary signing during the mac app notarization, the Corretto team started to sign all binaries in the Corretto 8 mac app bundle. The error message:
Exec failed with code 1 command [[codesign, -s, Developer ID Application: COMPANY NAME (CODE), --prefix, org.springframework.boot.loader., -vvvv, /var/folders/j0/frj02zfj76b1gl32cz8xm9bw0000gp/T/fxbundler2525375670903059591/images/image-6676019087539812945/App Name.app/Contents/MacOS/libpackager.dylib] in unspecified directory
shows that the error is thrown when the script attempted to sign the libpackager.dylib
(which is already signed by us) using your certificate. Let me take a closer look at it.
Hello, any update in this matter? I have similar issue now.
Any news on this? @nestoleh did you manage to workaround this issue?
Describe the bug
Javapackager can't create and sign pkg on MacOS and throw an error. The bug reproduced started from version 8.242.08.2 and above, on version 8.242.08.1 all works fine.
Error log:
To Reproduce
Install JDK from this release https://github.com/corretto/corretto-8/releases/tag/8.242.08.2 and try to package some jar to pkg on MacOS Example of my code
Expected behavior
pkg file created and signed with the provided key
Platform information