Posts

Post marked as solved
10 Replies
I got my notarizations working again but it took 2 days of trial and error to get it worked out:First I had to update to XCode 11.3 and update the command line tools then go into Software Update and update them again and it requires a lengthy reboot to get it all in order.My software is written in Java... turns out Java 8 is dead to Apple with these changes. Some binaries in Java 8 were compiled with old versions of the SDK and will never pass notarization even if you re-codesign them all.So I had to update to Java 11.0.6 which required refactor a number of things because the language is different. Ouch.Next I still had to re-codesign the java runtime files to get them to be accepted.The JMOD files in the java runtime still failed... I didn't need those to run my application so I deleted them from the runtime.Boom... notarization worked.This command is critical to getting notarization working again:xcrun altool --notarization-info RequestUUID --username USERNAME --password APP-PASSWORDIt gives you a URL to an itemized list of problems notarization has with your distribution. Largely you can just re-codesign the stuff it complains about to resolve them. My jmod issue was trickier... just removing them if they aren't needed was the best option for me there.