

Once you work out the command line calls it's pretty easy to automate in a build script. You also need to enable two factor auth for your Apple ID account.
#SONGKONG PRO PASSWORD#
My first issue was setting up - you need an active Developer Programme account with Apple ID (which is easy) but then, when you follow the instructions to add a password to the keychain, use the App specific password. So I've stripped much of the old discussion. From Feb 3rd they seem to have hit the final stage, which means your app has to meet much higher requirements, including a JRE which is built against the latest SDK and with "hardened runtime" support.

usr/local/bin/dmgcanvas /Users/paul/code/jthink/SongKong/dmgCanvas_songkong.dmgCanvas /Users/paul/songkong-osx.dmg -v SongKongĮdit - there have been a lot of changes because Apple have slowly tightened the requirements for notarization. usr/bin/codesign -verify -deep -verbose /Applications/SongKong.app usr/bin/codesign -sign "Developer ID Application: P Taylor" -force -deep -verbose /Applications/SongKong.app

Rm /Applications/SongKong.app/Contents/PlugIns/jdk1.8.0_192.jdk/Contents/MacOS/libjli.dylibĬp /Applications/SongKong.app/Contents/PlugIns/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jli/libjli.dylib /Applications/SongKong.app/Contents/PlugIns/jdk1.8.0_192.jdk/Contents/MacOSĮxport CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate" Sudo cp -r target/songkong-6.6/applehelpbook/SongKongHelp /Applications/SongKong.app/Contents/Resources Hiutil -C -fapplehelpbook/SongKongHelp/SongKongHelp.helpindex applehelpbook/SongKongHelp/ I post the ant script below, hoping someone can start me of with the basic steps #!/bin/bashĬd /Users/paul/code/jthink/songkong/src/main/scripts This is called by an ant script build file that does the signing etc, we eventually create a dmg using dmgCanvas I use the AppBundler fork to package my app
#SONGKONG PRO MAC#
My dev Mac machine is an old MacBook Pro, and as such cannot be updated past OSX El Capitan 10.11.6, can I notarize with this machine or not? I do have a more recent machine but it is not setup for development and I have some concerns about transferring the Developer Id certificates to it because setting this up was problematic in first place. I would rather not move to Java 11 because it would cause problem on some other platforms I support. I am currently using Java 8, is it possible to notarize a Java 8 app or do I need to move to Java 11. Reading the documentation I have a few concerns already: Not really sure where to start with this since the documentation is so biased towards creating apps with Xcode that I do not use, but I just want the simplest way to notarize my app and then move on. I distribute a Java application for MacOS, it is developer signed but not notarized.
