I have build a JAR file, I have a tool that converts this JAR file to .pkg file which can be distributed on MAC OS.
Unfortunately, when I try to run the installed JAR file I get UNIDENTIFIED DEVELOPER message because of MAC OS GateKeeper.
I have searched through the web and I recognised that code signing is required to pass this issue. However, in windows I know the steps for code signing, but I'm not expert in MAC OS.
Do I need to convert the JAR into app first using appbundler followed by codesign? or this is an old way and there's a newest one.
What's the best solution for this issue?