I had a process for generating an app using JPackage that was working well in Catalina. The signing process worked and generated apps that could be downloaded from my website and run without problems.
When my users had Ventura they could install from the dmg, but running the app gave "can't be opened because Apple cannot check it for malicious software". This is the error I used to get on Catalina before signing.
I updated my development computer to Ventura in the hopes that building using that OS version would clean up the problem, but no such luck.
The app runs without problems when I run it from the build location. I just get the above error when the dmg is downloaded from the internet.
The setting to allow applications from trusted developers is correct on my system.
I'm using:
- Java 17 (though Java 20 does behaves the same)
- Xcode 14.3 is installed (jpackage uses it under the hood)
- My signing certificate shows as "this certificate is valid" in the system keychain
- using "codesign -vvv --deep --strict" on the dmg and app claims "satisfies its Designated Requirement" (though I don't know what that means and there's no other information given)
- Attempting to run codesign to sign the app tells me "already signed"
- The code I have is pure Java, but does use JavaFX
- There are no warnings or errors from jpackage when building
I would really appreciate suggestions on why the signing doesn't appear to be working any longer.
Thank you!