App Startup Issues after Upgrade to MacOS Sequoia

Short description of the issue/suggestion: After upgrading to MacOS Sequoia and being required to code sign and notarize my app, cannot launch app even though code sign and notarization pass

Please tell us about your environment: MacBookPro Chip Apple M2 Max 32 GB JavaPackager version: 1.7.6 OS version: macOS Sequoia 15.0.1 JDK version: jdk-1.8 Build tool: Maven

Steps to reproduce the issue: -DMG Maven Build of Spring Boot /Java (version 8) application with "fvarrui" JavaPackager plugin using default universalJavaApplicationStub. Code signing and Notarization / Stapling PASS and App installs in Application folder, however cannot launch App. Although code sign and notarization pass, it is interesting that in the build output, prior to it submitting to Apple, there is an error stating that the App code sign could not be replaced.

What is the expected behavior? -App launches when double clicking the application icon

What have you tried to resolve / workaround the issue?

-Install via package rather than DMG - same result -Can launch App by opening up the app Content/MacOS folder and clicking directly on the universalJavaApplicationStub. Note requires that you allow it to run within the Security and Privacy settings.

codesign --verify --deep --verbose force1.app force1.app: valid on disk force1.app: satisfies its Designated Requirement

spctl -a -vvv force1.app

f o r ce1.app: accepted source=Notarized Developer ID origin=Developer ID Application: Neal Hartmann (JPFYU53MK9)

I have a series of posts, rooted in Resolving Trusted Execution Problems, that explain my general process for debugging problems like this. It seems like your app is passing Gatekeeper, which is great. A good next step is to run the app from Terminal. It’s common for Java launchers to spit out something useful when they fail like this.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

App Startup Issues after Upgrade to MacOS Sequoia
 
 
Q