I am trying to build a .dmg package for my JavaFX application using Eclipse and e(fx)clipse, but it gives me the following error:
Did not find a key matching 'Developer ID Application: '
BUILD FAILED
/Users/xxx/git/xxx/xxx/build/build.xml:203: Error: Bundler "DMG Installer" (dmg) failed to produce a bundle.
There are plenty of threads out there on how to use a valid Apple Developer ID certificate in this situation. But according to this Apple page the only reason to sign an app with an Developer ID certificate is the following:
If your app isn’t signed with a Developer ID certificate issued by Apple, it won’t launch on a Mac that has Gatekeeper enabled.
But having to disable Gatekeeper to be able to launch the app is fine by me. Especially since I am currently mostly interested in packaging the application as a .dmg for testing purposes.
So is it possible to build a .dmg package for my JavaFX application without using a Developer ID?
Turns out that all you needed to do was to disable Gatekeeper on the building machine to be able to build the .dmg package. No idea why they implemented it like that. Regardless, that is the answer to my question. Thank you for the answers that demonstrated that it was possible to begin with.