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

CFBundleGetInfoString
force1 1.0-SNAPSHOT
CFBundleDevelopmentRegion
English
CFBundleExecutable
universalJavaApplicationStub
CFBundleIconFile
Force1256x256.icns
CFBundleIdentifier
com.force1.app.Force1App
CFBundleDisplayName
force1
CFBundleInfoDictionaryVersion
6.0
CFBundleName
force1
CFBundlePackageType
APPL
CFBundleShortVersionString
1.0-SNAPSHOT
CFBundleSignature
????
CFBundleVersion
1.0-SNAPSHOT
NSHumanReadableCopyright
ACME
NSHighResolutionCapable

NSSupportsAutomaticGraphicsSwitching

AdministratorRequired

JavaX

MainClass
com.force1.app.Force1App
ClassPath

Java/force1-1.0-SNAPSHOT-runnable.jar

WorkingDirectory
$APP_PACKAGE/Contents/Resources
JVMOptionsFile
$APP_PACKAGE/Contents/Resources/force1.l4j.ini
RelocateJar


LSEnvironment

NSAppleEventsUsageDescription
There was an error while launching the application. Please
			click OK to display a dialog with more information or cancel and view
			the syslog for details.


    4.0.0

    spring.boot.force1
    force1
    1.0-SNAPSHOT

    
        org.springframework.boot
        spring-boot-starter-parent
        2.2.6.RELEASE
    

    
        1.8
        com.force1.app.Force1App
    

    
        
            org.springframework.boot
            spring-boot-starter
        
        
            org.springframework.data
            spring-data-commons
        
        
            org.apache.commons
            commons-lang3
            3.12.0
        
        
            org.apache.cxf.xjc-utils
            cxf-xjc-runtime
            3.3.1
        
        
            org.projectlombok
            lombok
            provided
        
        
            io.github.java-native
            jssc
            2.9.4
        
        
        
            com.fazecast
            jSerialComm
            [2.0.0,3.0.0)
        
        
        
            org.springframework.boot
            spring-boot-starter-data-jpa
            
        
        
            com.h2database
            h2
            runtime
        
        
            javax.validation
            validation-api
        

        
        
            junit
            junit
            test
        
        
            org.assertj
            assertj-core
            test
        
        
            org.springframework
            spring-test
            test
        
        
            org.springframework.boot
            spring-boot-starter-test
            test
        
        
            org.springframework.boot
            spring-boot-test-autoconfigure
            test
        

        
        
            org.springframework.boot
            spring-boot-starter
            
                
                    org.springframework.boot
                    spring-boot-starter-logging
                
            
        
        
            org.springframework.boot
            spring-boot-starter-log4j2
        
    
    

        
            
                org.springframework.boot
                spring-boot-maven-plugin
                
                    
                        
                            repackage
                        
                        
                            spring-boot
                            
                                com.force1.app.Force1App
                            
                        
                    
                
            

            
                org.apache.cxf
                cxf-xjc-plugin
                3.3.1
                
                    
                        
                            true
                            
                                -Xts:style:multiline
                            
                            ${basedir}/src/main/resources/atlabase.xsd
                            atlabase.cef
                            ${basedir}/src/main/resources/bindings.xjb
                        
                    
                    
                        org.apache.cxf.xjcplugins:cxf-xjc-dv:3.3.1
                        org.apache.cxf.xjcplugins:cxf-xjc-ts:3.3.1
                    
                
                
                    
                        xjc
                        generate-sources
                        
                            xsdtojava
                        
                    
                
            

            
                io.github.fvarrui
                javapackager
                1.7.3
                
                    
                        package
                        
                            package
                        
                        
                            
                            com.force1.app.Force1App
                            
                            false
                            true
                            false
                            
                            mac
                            
                                ${basedir}/src/main/resources/Force1256x256.ico
                            
                            
                                ${basedir}/src/main/resources/Force1256x256.icns
                                true
                                true
                                Developer ID Application: Neal Hartmann (JPFYU53MK9)
                                true
                                true
                                true
                                "Force1"
                                ${basedir}/src/main/resources/entitlements.plist
                                
                                    APPL
                                
                            
                        
                    
                
            
        
    

f
.............
.............
.............
.............
[DEBUG] Null reference [template 'mac/Info.plist.vtl', line 112, column 33]: $APP_PACKAGE cannot be resolved.
[DEBUG] Null reference [template 'mac/Info.plist.vtl', line 115, column 33]: $APP_PACKAGE cannot be resolved.
[INFO]     Info.plist file created in /Users/lynnshepard/DEV/force1/target/force1/force1.app/Contents/Info.plist
[INFO]     Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/force1/.' && 'codesign' -f -o runtime --entitlements /Users/lynnshepard/DEV/force1/src/main/resources/entitlements.plist --timestamp -s "Developer ID Application: Neal Hartmann (JPFYU53MK9)" /Users/lynnshepard/DEV/force1/target/force1/force1.app/Contents/MacOS/universalJavaApplicationStub
[INFO]     Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/force1/.' && 'codesign' -f -o runtime --entitlements /Users/lynnshepard/DEV/force1/src/main/resources/entitlements.plist --timestamp -s "Developer ID Application: Neal Hartmann (JPFYU53MK9)" /Users/lynnshepard/DEV/force1/target/force1/force1.app
[ERROR]     /Users/lynnshepard/DEV/force1/target/force1/force1.app: replacing existing signature
[INFO]     Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/force1/.' && 'xcrun' notarytool submit /Users/lynnshepard/DEV/force1/target/assets/force1.app-notarization.zip --wait --keychain-profile "Force1"
[INFO]     Conducting pre-submission checks for force1.app-notarization.zip and initiating connection to the Apple notary service...
[INFO]     Submission ID received
[INFO]       id: 1f4b6026-15af-4b10-8ed7-727d4478e7e7
[INFO]     Successfully uploaded file
[INFO]       id: 1f4b6026-15af-4b10-8ed7-727d4478e7e7
[INFO]       path: /Users/lynnshepard/DEV/force1/target/assets/force1.app-notarization.zip
[INFO]     Waiting for processing to complete.
[INFO]     
[INFO]     Current status: In Progress...
[INFO]     Current status: In Progress....
[INFO]     Current status: In Progress.....
[INFO]     Current status: In Progress......
[INFO]     Current status: In Progress.......
[INFO]     Current status: In Progress........
[INFO]     Current status: In Progress.........
[INFO]     Current status: In Progress..........
[INFO]     Current status: In Progress...........
[INFO]     Current status: In Progress............
[INFO]     Current status: In Progress.............
[INFO]     Current status: Accepted..............Processing complete
[INFO]       id: 1f4b6026-15af-4b10-8ed7-727d4478e7e7
[INFO]       status: Accepted
[INFO]     
[INFO]     Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/force1/.' && 'xcrun' stapler staple /Users/lynnshepard/DEV/force1/target/force1/force1.app
[INFO]     Processing: /Users/lynnshepard/DEV/force1/target/force1/force1.app
[INFO]     Processing: /Users/lynnshepard/DEV/force1/target/force1/force1.app
[INFO]     The staple and validate action worked!
[INFO] App created in /Users/lynnshepard/DEV/force1/target/force1!
[INFO] 
[INFO] Generating installers ...
[INFO]     Initializing packager ...
[INFO]         PackagerSettings [outputDirectory=/Users/lynnshepard/DEV/force1/target, licenseFile=/Users/lynnshepard/DEV/force1/target/assets/LICENSE, iconFile=/Users/lynnshepard/DEV/force1/src/main/resources/Force1256x256.icns, generateInstaller=true, forceInstaller=false, mainClass=com.force1.app.Force1App, name=force1, displayName=force1, version=1.0-SNAPSHOT, description=Parent pom providing dependency and plugin management for applications
		built with Maven, url=https://projects.spring.io/spring-boot/#/spring-boot-starter-parent/force1, administratorRequired=false, organizationName=ACME, organizationUrl=, organizationEmail=null, bundleJre=false, customizedJre=true, jrePath=null, jdkPath=/Library/Java/JavaVirtualMachines/jdk-1.8.jdk/Contents/Home/jre, additionalResources=[/Users/lynnshepard/DEV/force1/target/assets/LICENSE, /Users/lynnshepard/DEV/force1/src/main/resources/Force1256x256.icns], modules=[], additionalModules=[], platform=mac, envPath=null, vmArgs=[], runnableJar=null, copyDependencies=true, jreDirectoryName=jre, winConfig=null, linuxConfig=null, macConfig=MacConfig [icnsFile=/Users/lynnshepard/DEV/force1/src/main/resources/Force1256x256.icns, backgroundImage=null, windowWidth=540, windowHeight=360, windowX=10, windowY=60, iconSize=128, textSize=16, iconX=52, iconY=116, appsLinkIconX=360, appsLinkIconY=116, volumeIcon=null, volumeName=null, generateDmg=true, generatePkg=true, relocateJar=true, appId=com.force1.app.Force1App, developerId=Developer ID Application: Neal Hartmann (JPFYU53MK9), entitlements=/Users/lynnshepard/DEV/force1/src/main/resources/entitlements.plist, provisionProfile=null, customLauncher=null, customInfoPlist=null, customRuntimeInfoPlist=null, codesignApp=true, notarizeApp=true, keyChainProfile="Force1", infoPlist=InfoPlist [additionalEntries=, bundlePackageType=APPL], hardenedCodesign=true, macStartup=SCRIPT], createTarball=false, createZipball=false, extra=null, useResourcesAsWorkingDir=true, assetsDir=/Users/lynnshepard/DEV/force1/assets, classpath=Java/force1-1.0-SNAPSHOT-runnable.jar, jreMinVersion=null, manifest=null, additionalModulePaths=[], fileAssociations=[], packagingJdk=/Library/Java/JavaVirtualMachines/jdk-1.8.jdk/Contents/Home/jre, scripts=Scripts [bootstrap=null, preInstall=null, postInstall=null], arch=aarch64]
[INFO]     Packager initialized!
[INFO]     
[INFO]     Generating DMG image...
[INFO]         Copying background image
[INFO]         Copying resource [/mac/background.png] to file [/Users/lynnshepard/DEV/force1/target/force1/.background/background.png]
[INFO]         Copying icon file: /Users/lynnshepard/DEV/force1/src/main/resources/Force1256x256.icns
[INFO]         Copying file [/Users/lynnshepard/DEV/force1/src/main/resources/Force1256x256.icns] to file [/Users/lynnshepard/DEV/force1/target/force1/.VolumeIcon.icns]
[INFO]         Creating image: /Users/lynnshepard/DEV/force1/target/assets/force1_1.0-SNAPSHOT.dmg
[WARNING]         aarch64 architecture detected. Using APFS filesystem
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/force1/.' && 'hdiutil' create -srcfolder /Users/lynnshepard/DEV/force1/target/force1 -volname force1 -ov -fs APFS -format UDRW /Users/lynnshepard/DEV/force1/target/assets/force1_1.0-SNAPSHOT.dmg
[INFO]         created: /Users/lynnshepard/DEV/force1/target/assets/force1_1.0-SNAPSHOT.dmg
[INFO]         Mounting image: /Users/lynnshepard/DEV/force1/target/assets/force1_1.0-SNAPSHOT.dmg
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/force1/.' && 'hdiutil' attach -readwrite -noverify -noautoopen /Users/lynnshepard/DEV/force1/target/assets/force1_1.0-SNAPSHOT.dmg
[INFO]         /dev/disk4          	GUID_partition_scheme          	
[INFO]         /dev/disk4s1        	Apple_APFS                     	
[INFO]         /dev/disk5          	EF57347C-0000-11AA-AA11-0030654	
[INFO]         /dev/disk5s1        	41504653-0000-11AA-AA11-0030654	/Volumes/force1
[INFO]         - Device name: /dev/disk5s1
[INFO]         Creating Applications link
[INFO]         Creating symbolic link [/Volumes/force1/Applications] to [/Applications]
[INFO]         Rendering DMG customization applescript ... 
[DEBUG] ResourceManager: found /mac/customize-dmg.applescript.vtl with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
[INFO]         Applescript rendered in /Users/lynnshepard/DEV/force1/target/assets/customize-dmg.applescript!
[INFO]         Running applescript
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/force1/.' && '/usr/bin/osascript' /Users/lynnshepard/DEV/force1/target/assets/customize-dmg.applescript force1
[ERROR]         waited 1 seconds for .DS_STORE to be created.
[INFO]         Fixing permissions...
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/force1/.' && 'chmod' -Rf u+r,go-w /Volumes/force1
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/force1/.' && 'SetFile' -a C /Volumes/force1
[INFO]         Unmounting volume: /Volumes/force1
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/force1/.' && 'hdiutil' detach /Volumes/force1
[INFO]         "disk4" ejected.
[INFO]         Compressing disk image...
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/force1/.' && 'hdiutil' convert /Users/lynnshepard/DEV/force1/target/assets/force1_1.0-SNAPSHOT.dmg -ov -format UDZO -imagekey zlib-level=9 -o /Users/lynnshepard/DEV/force1/target/force1_1.0-SNAPSHOT.dmg
[INFO]         Preparing imaging engine�
[INFO]         Reading Protective Master Boot Record (MBR : 0)�
[INFO]            (CRC32 $DB270231: Protective Master Boot Record (MBR : 0))
[INFO]         Reading GPT Header (Primary GPT Header : 1)�
[INFO]            (CRC32 $49035C34: GPT Header (Primary GPT Header : 1))
[INFO]         Reading GPT Partition Data (Primary GPT Table : 2)�
[INFO]            (CRC32 $2CE50032: GPT Partition Data (Primary GPT Table : 2))
[INFO]         Reading  (Apple_Free : 3)�
[INFO]            (CRC32 $00000000:  (Apple_Free : 3))
[INFO]         Reading disk image (Apple_APFS : 4)�
[INFO]            (CRC32 $BF8172B2: disk image (Apple_APFS : 4))
[INFO]         Reading  (Apple_Free : 5)�
[INFO]            (CRC32 $00000000:  (Apple_Free : 5))
[INFO]         Reading GPT Partition Data (Backup GPT Table : 6)�
[INFO]            (CRC32 $2CE50032: GPT Partition Data (Backup GPT Table : 6))
[INFO]         Reading GPT Header (Backup GPT Header : 7)�
[INFO]            (CRC32 $9F569756: GPT Header (Backup GPT Header : 7))
[INFO]         Adding resources�
[INFO]         Elapsed Time:  3.065s
[INFO]         File size: 38945582 bytes, Checksum: CRC32 $E245AE72
[INFO]         Sectors processed: 112004, 84627 compressed
[INFO]         Speed: 13.5MB/s
[INFO]         Savings: 32.1%
[INFO]         created: /Users/lynnshepard/DEV/force1/target/force1_1.0-SNAPSHOT.dmg
[INFO]     DMG image generated in /Users/lynnshepard/DEV/force1/target/force1_1.0-SNAPSHOT.dmg!
[INFO]     
[INFO]     Generating PKG installer...
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/force1/.' && 'pkgbuild' --install-location /Applications --component /Users/lynnshepard/DEV/force1/target/force1/force1.app /Users/lynnshepard/DEV/force1/target/force1_1.0-SNAPSHOT.pkg
[INFO]         pkgbuild: Adding component at /Users/lynnshepard/DEV/force1/target/force1/force1.app
[INFO]         pkgbuild: Wrote package to /Users/lynnshepard/DEV/force1/target/force1_1.0-SNAPSHOT.pkg
[INFO]     PKG installer generated in /Users/lynnshepard/DEV/force1/target/force1_1.0-SNAPSHOT.pkg!
[INFO]     
[INFO] Installers generated! [/Users/lynnshepard/DEV/force1/target/force1_1.0-SNAPSHOT.dmg, /Users/lynnshepard/DEV/force1/target/force1_1.0-SNAPSHOT.pkg]
[INFO] 
[INFO] Creating bundles ...
[INFO] Bundles created!
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:05 min
[INFO] Finished at: 2025-01-19T13:35:16-05:00
[INFO] ------------------------------------------------------------------------

Process finished with exit code 0
o
default	13:44:58.492468-0500	runningboardd	'app' Constructed job description:
 { count = 25, transaction: 0, voucher = 0x0, contents =
	"Platform" => : 1
	"BinaryOrderPreference" =>  { count = 2, capacity = 8, contents =
		0:  { count = 2, transaction: 0, voucher = 0x0, contents =
			"CPUSubtype" => : -1
			"CPUType" => : 16777223
		}
		1:  { count = 2, transaction: 0, voucher = 0x0, contents =
			"CPUSubtype" => : -1
			"CPUType" => : -1
		}
	}
	"ProcessType" =>  { length = 3, contents = "App" }
	"EnableTransactions" => : false
	"_ManagedBy" =>  { length = 22, contents = "com.apple.runningboard" }
	"CFBundleIdentifier" =>  { length = 24, contents = "com.force1.app.Force1App" }
	"_ResourceCoalition" =>  { length = 64, contents = "app" }
	"_DisablePointerAuth" => : true
	"ThrottleInterval" => : 2147483647
	"MachServices" =>  { count = 0, transaction: 0, voucher = 0x0, contents =
	}
	"EnablePressuredExit" => : false
	"LimitLoadToSessionType" =>  { count = 2, capacity = 8, contents =
		0:  { length = 4, contents = "Aqua" }
		1:  { length = 11, contents = "LoginWindow" }
	}
	"InitialTaskRole" => : 2
	"EnvironmentVariables" =>  { count = 12, transaction: 0, voucher = 0x0, contents =
		"__CF_USER_TEXT_ENCODING" =>  { length = 13, contents = "0x1F5:0x0:0x0" }
		"TMPDIR" =>  { length = 49, contents = "/var/folders/6j/5784tz8x3xn820wrtctsjjzw0000gn/T/" }
		"SHELL" =>  { length = 8, contents = "/bin/zsh" }
		"HOME" =>  { length = 18, contents = "/Users/lynnshepard" }
		"SSH_AUTH_SOCK" =>  { length = 51, contents = "/private/tmp/com.apple.launchd.pP5tDKvPMS/Listeners" }
		"LOGNAME" =>  { length = 11, contents = "lynnshepard" }
		"PATH" =>  { length = 29, contents = "/usr/bin:/bin:/usr/sbin:/sbin" }
		"XPC_SERVICE_NAME" =>  { length = 16, contents = "com.apple.Finder" }
		"__CFBundleIdentifier" =>  { length = 24, contents = "com.force1.app.Force1App" }
		"COMMAND_MODE" =>  { length = 8, contents = "unix2003" }
		"USER" =>  { length = 11, contents = "lynnshepard" }
		"XPC_FLAGS" =>  { length = 3, contents = "0x0" }
	}
	"_AdditionalProperties" =>  { count = 1, transaction: 0, voucher = 0x0, contents =
		"RunningBoard" =>  { count = 4, transaction: 0, voucher = 0x0, contents =
			"TMPDIR" =>  { length = 49, contents = "/var/folders/6j/5784tz8x3xn820wrtctsjjzw0000gn/T/" }
			"HOME" =>  { length = 18, contents = "/Users/lynnshepard" }
			"RunningBoardLaunchedIdentity" =>  { count = 5, transaction: 0, voucher = 0x0, contents =
				"AJL" =>  { length = 54, contents = "application.com.force1.app.Force1App.35806793.35806809" }
				"TYPE" => : 1
				"AUID" => : 501
				"EAI" =>  { length = 24, contents = "com.force1.app.Force1App" }
				"PLAT" => : 1
			}
			"RunningBoardLaunched" => : true
		}
	}
	"ExitTimeOut" => : 1
	"Label" =>  { length = 54, contents = "application.com.force1.app.Force1App.35806793.35806809" }
	"WaitForDebugger" => : true
	"MaterializeDatalessFiles" => : true
	"WorkingDirectory" =>  { length = 1, contents = "/" }
	"_LaunchType" => : 3
	"AbandonProcessGroup" => : true
	"ProgramArguments" =>  { count = 1, capacity = 8, contents =
		0:  { length = 68, contents = "/Applications/force1.app/Contents/MacOS/universalJavaApplicationStub" }
	}
	"Program" =>  { length = 68, contents = "/Applications/force1.app/Contents/MacOS/universalJavaApplicationStub" }
	"SpawnConstraint" =>  { count = 1, transaction: 0, voucher = 0x0, contents =
		"cdhash" =>  { count = 1, transaction: 0, voucher = 0x0, contents =
			"$in" =>  { count = 6, capacity = 8, contents =
				0: : { length = 20 bytes, contents = 0x475875dfe05ab9aeecc8b8a31c2347752b776bc1 }
				1: : { length = 20 bytes, contents = 0x14f789a9e815eaefedb8bed39fbd6e219e4f1e5a }
				2: : { length = 20 bytes, contents = 0x475875dfe05ab9aeecc8b8a31c2347752b776bc1 }
				3: : { length = 20 bytes, contents = 0x14f789a9e815eaefedb8bed39fbd6e219e4f1e5a }
				4: : { length = 20 bytes, contents = 0x475875dfe05ab9aeecc8b8a31c2347752b776bc1 }
				5: : { length = 20 bytes, contents = 0x14f789a9e815eaefedb8bed39fbd6e219e4f1e5a }
			}
		}
	}
}
error	13:44:58.507983-0500	runningboardd	: job failed to spawn, plist={
	Platform => 1
	BinaryOrderPreference => [
		0: {
			CPUSubtype => -1
			CPUType => 16777223
		}
		1: {
			CPUSubtype => -1
			CPUType => -1
		}
	]
	ProcessType => App
	EnableTransactions => false
	_ManagedBy => com.apple.runningboard
	CFBundleIdentifier => com.force1.app.Force1App
	_ResourceCoalition => app
	_DisablePointerAuth => true
	ThrottleInterval => 2147483647
	MachServices => {
	}
	EnablePressuredExit => false
	LimitLoadToSessionType => [
		0: Aqua
		1: LoginWindow
	]
	InitialTaskRole => 2
	EnvironmentVariables => {
		__CF_USER_TEXT_ENCODING => 0x1F5:0x0:0x0
		TMPDIR => /var/folders/6j/5784tz8x3xn820wrtctsjjzw0000gn/T/
		SHELL => /bin/zsh
		HOME => /Users/lynnshepard
		SSH_AUTH_SOCK => /private/tmp/com.apple.launchd.pP5tDKvPMS/Listeners
		LOGNAME => lynnshepard
		PATH => /usr/bin:/bin:/usr/sbin:/sbin
		XPC_SERVICE_NAME => com.apple.Find<�>
default	13:44:58.492036-0500	runningboardd	_mutateContextIfNeeded called for com.force1.app.Force1App
default	13:44:58.478714-0500	runningboardd	Acquiring assertion targeting app from originator [osservice:566] with description  attributes:[
	
	]>
default	13:44:58.492235-0500	runningboardd	app: -[RBPersonaManager personaForIdentity:context:personaUID:personaUniqueString:] required 0.000000 ms (wallclock); resolved to {4294967295, (null)}
default	13:44:58.507420-0500	kernel	ASP: Security policy would not allow process: 71977, /Applications/force1.app/Contents/MacOS/universalJavaApplicationStub
default	13:44:58.478830-0500	runningboardd	Assertion 379-566-319601 (target:app) will be created as active
default	13:44:58.491863-0500	runningboardd	Checking PreventLaunch: global:0 exPath:/Applications/force1.app/Contents/MacOS/universalJavaApplicationStub predicates:(null) allow:(null)
default	13:44:58.491956-0500	runningboardd	Creating and launching job for: app
default	13:44:58.491816-0500	runningboardd	Executing launch request for app (LS launch com.force1.app.Force1App)
default	13:44:58.519022-0500	syspolicyd	Found provenance data on target: TA(2306c0795efcc2eb, 0), PST: (path: b5f8bde8570b240c), (team: JPFYU53MK9), (id: com.force1.app.Force1App), (bundle_id: (null))
default	13:44:58.517061-0500	syspolicyd	GK evaluateScanResult: 3, PST: (path: b5f8bde8570b240c), (team: JPFYU53MK9), (id: com.force1.app.Force1App), (bundle_id: (null)), 0, 0, 1, 0, 4, 4, 0
default	13:44:58.508608-0500	runningboardd	Invalidating assertion 379-566-319601 (target:app) from originator [osservice:566]
default	13:44:58.478564-0500	runningboardd	Launch request for app[0] is using uid 501 (divined from auid 501 euid 501)
error	13:44:58.508910-0500	CoreServicesUIAgent	LAUNCH: RBSLaunchRequest FAILURE  com.force1.app.Force1App  0x0-0x9d89d8 failed with error Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x60000229e790 {Error Domain=NSPOSIXErrorDomain Code=162 "Unknown error: 162" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}
error	13:44:58.508991-0500	CoreServicesUIAgent	LAUNCH: request execute thru runningboard of 0x0-0x9d89d8 com.force1.app.Force1App/ failed with error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x60000229e790 {Error Domain=NSPOSIXErrorDomain Code=162 "Unknown error: 162" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}
error	13:44:58.508938-0500	CoreServicesUIAgent	LAUNCH: Runningboard launch of com.force1.app.Force1App  returned RBSRequestErrorFailed, error Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x60000229e790 {Error Domain=NSPOSIXErrorDomain Code=162 "Unknown error: 162" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}, so returning -10810
default	13:44:58.512125-0500	gamepolicyd	Received state update for -1 (app, none-NotVisible
default	13:44:58.627513-0500	gamepolicyd	Received state update for -1 (app, none-NotVisible
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"

lynnshepard@Lynns-MacBook-Pro /Applications % open force1.app The application cannot be opened for an unexpected reason, error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x6000012c40f0 {Error Domain=NSPOSIXErrorDomain Code=162 "Unknown error: 162" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}

Additionally, I am attaching my entitlements file for you to view....

  
    com.apple.security.device.serial
    
    com.apple.private.iscsuia
    
    com.apple.security.app-sandbox
    
    com.apple.security.cs.allow-jit
    
    com.apple.security.cs.allow-unsigned-executable-memory
    
    com.apple.security.cs.disable-executable-page-protection
    
    com.apple.security.cs.disable-library-validation
    
    com.apple.security.cs.allow-dyld-environment-variables
    
  

Hello - As you requested, I included the error received when trying to launch the app from the terminal window. Also include, although, not requested, is the entitlements file - see both in the above post.

NOTE - Simplify the issue I am having , I have created an extremely SIMPLE Hello World program and am having the exact same issue. I have included all pertinent information in the attachments for you to review. I would really appreciate your timely response and effort to work through this with me as it is holding up our production of our application.

lynnshepard@Lynns-MacBook-Pro /Applications % 
lynnshepard@Lynns-MacBook-Pro /Applications % 
lynnshepard@Lynns-MacBook-Pro /Applications % 
lynnshepard@Lynns-MacBook-Pro /Applications % 
lynnshepard@Lynns-MacBook-Pro /Applications % codesign --verify --deep --verbose Test2.app
Test2.app: valid on disk
Test2.app: satisfies its Designated Requirement
lynnshepard@Lynns-MacBook-Pro /Applications % 
lynnshepard@Lynns-MacBook-Pro /Applications % 
lynnshepard@Lynns-MacBook-Pro /Applications % spctl -a -vvv Test2.app
Test2.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: Neal Hartmann (JPFYU53MK9)
lynnshepard@Lynns-MacBook-Pro /Applications % 
lynnshepard@Lynns-MacBook-Pro /Applications % 
lynnshepard@Lynns-MacBook-Pro /Applications % 
lynnshepard@Lynns-MacBook-Pro /Applications % syspolicy_check distribution  Test2.app
App passed all pre-distribution checks and is ready for distribution.

lynnshepard@Lynns-MacBook-Pro /Applications % open Test2.app

The application cannot be opened for an unexpected reason, error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x6000011e9650 {Error Domain=NSPOSIXErrorDomain Code=162 "Unknown error: 162" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}

default	12:05:59.765566-0500	runningboardd	Launch request for app[0] is using uid 501 (divined from auid 501 euid 501)
default	12:05:59.765705-0500	runningboardd	Acquiring assertion targeting app from originator [osservice:566] with description  attributes:[
	
	]>
default	12:05:59.765840-0500	runningboardd	Assertion 379-566-569895 (target:app) will be created as active
default	12:05:59.776771-0500	runningboardd	Executing launch request for app (LS launch org.example.Test2App)
default	12:05:59.776822-0500	runningboardd	Checking PreventLaunch: global:0 exPath:/Applications/Test2.app/Contents/MacOS/universalJavaApplicationStub predicates:(null) allow:(null)
default	12:05:59.776933-0500	runningboardd	Creating and launching job for: app
default	12:05:59.776984-0500	runningboardd	_mutateContextIfNeeded called for org.example.Test2App
default	12:05:59.777165-0500	runningboardd	app: -[RBPersonaManager personaForIdentity:context:personaUID:personaUniqueString:] required 0.000000 ms (wallclock); resolved to {4294967295, (null)}
default	12:05:59.777378-0500	runningboardd	'app' Constructed job description:
 { count = 25, transaction: 0, voucher = 0x0, contents =
	"Platform" => : 1
	"BinaryOrderPreference" =>  { count = 2, capacity = 8, contents =
		0:  { count = 2, transaction: 0, voucher = 0x0, contents =
			"CPUSubtype" => : -1
			"CPUType" => : 16777223
		}
		1:  { count = 2, transaction: 0, voucher = 0x0, contents =
			"CPUSubtype" => : -1
			"CPUType" => : -1
		}
	}
	"ProcessType" =>  { length = 3, contents = "App" }
	"EnableTransactions" => : false
	"_ManagedBy" =>  { length = 22, contents = "com.apple.runningboard" }
	"CFBundleIdentifier" =>  { length = 20, contents = "org.example.Test2App" }
	"_ResourceCoalition" =>  { length = 60, contents = "app" }
	"_DisablePointerAuth" => : true
	"ThrottleInterval" => : 2147483647
	"MachServices" =>  { count = 0, transaction: 0, voucher = 0x0, contents =
	}
	"EnablePressuredExit" => : false
	"LimitLoadToSessionType" =>  { count = 2, capacity = 8, contents =
		0:  { length = 4, contents = "Aqua" }
		1:  { length = 11, contents = "LoginWindow" }
	}
	"InitialTaskRole" => : 2
	"EnvironmentVariables" =>  { count = 12, transaction: 0, voucher = 0x0, contents =
		"__CF_USER_TEXT_ENCODING" =>  { length = 13, contents = "0x1F5:0x0:0x0" }
		"TMPDIR" =>  { length = 49, contents = "/var/folders/6j/5784tz8x3xn820wrtctsjjzw0000gn/T/" }
		"SHELL" =>  { length = 8, contents = "/bin/zsh" }
		"HOME" =>  { length = 18, contents = "/Users/lynnshepard" }
		"SSH_AUTH_SOCK" =>  { length = 51, contents = "/private/tmp/com.apple.launchd.pP5tDKvPMS/Listeners" }
		"LOGNAME" =>  { length = 11, contents = "lynnshepard" }
		"PATH" =>  { length = 29, contents = "/usr/bin:/bin:/usr/sbin:/sbin" }
		"XPC_SERVICE_NAME" =>  { length = 16, contents = "com.apple.Finder" }
		"__CFBundleIdentifier" =>  { length = 20, contents = "org.example.Test2App" }
		"COMMAND_MODE" =>  { length = 8, contents = "unix2003" }
		"USER" =>  { length = 11, contents = "lynnshepard" }
		"XPC_FLAGS" =>  { length = 3, contents = "0x0" }
	}
	"_AdditionalProperties" =>  { count = 1, transaction: 0, voucher = 0x0, contents =
		"RunningBoard" =>  { count = 4, transaction: 0, voucher = 0x0, contents =
			"TMPDIR" =>  { length = 49, contents = "/var/folders/6j/5784tz8x3xn820wrtctsjjzw0000gn/T/" }
			"HOME" =>  { length = 18, contents = "/Users/lynnshepard" }
			"RunningBoardLaunchedIdentity" =>  { count = 5, transaction: 0, voucher = 0x0, contents =
				"AJL" =>  { length = 50, contents = "application.org.example.Test2App.36612783.36612797" }
				"TYPE" => : 1
				"AUID" => : 501
				"EAI" =>  { length = 20, contents = "org.example.Test2App" }
				"PLAT" => : 1
			}
			"RunningBoardLaunched" => : true
		}
	}
	"ExitTimeOut" => : 1
	"Label" =>  { length = 50, contents = "application.org.example.Test2App.36612783.36612797" }
	"WaitForDebugger" => : true
	"MaterializeDatalessFiles" => : true
	"WorkingDirectory" =>  { length = 1, contents = "/" }
	"_LaunchType" => : 3
	"AbandonProcessGroup" => : true
	"ProgramArguments" =>  { count = 1, capacity = 8, contents =
		0:  { length = 67, contents = "/Applications/Test2.app/Contents/MacOS/universalJavaApplicationStub" }
	}
	"Program" =>  { length = 67, contents = "/Applications/Test2.app/Contents/MacOS/universalJavaApplicationStub" }
	"SpawnConstraint" =>  { count = 1, transaction: 0, voucher = 0x0, contents =
		"cdhash" =>  { count = 1, transaction: 0, voucher = 0x0, contents =
			"$in" =>  { count = 6, capacity = 8, contents =
				0: : { length = 20 bytes, contents = 0x071ff6be8f65af1420e4d1648b5be632b65cdea4 }
				1: : { length = 20 bytes, contents = 0xae61f560474c637f821715d80f0dd6468da18733 }
				2: : { length = 20 bytes, contents = 0x071ff6be8f65af1420e4d1648b5be632b65cdea4 }
				3: : { length = 20 bytes, contents = 0xae61f560474c637f821715d80f0dd6468da18733 }
				4: : { length = 20 bytes, contents = 0x071ff6be8f65af1420e4d1648b5be632b65cdea4 }
				5: : { length = 20 bytes, contents = 0xae61f560474c637f821715d80f0dd6468da18733 }
			}
		}
	}
}
error	12:05:59.790987-0500	runningboardd	: job failed to spawn, plist={
	Platform => 1
	BinaryOrderPreference => [
		0: {
			CPUSubtype => -1
			CPUType => 16777223
		}
		1: {
			CPUSubtype => -1
			CPUType => -1
		}
	]
	ProcessType => App
	EnableTransactions => false
	_ManagedBy => com.apple.runningboard
	CFBundleIdentifier => org.example.Test2App
	_ResourceCoalition => app
	_DisablePointerAuth => true
	ThrottleInterval => 2147483647
	MachServices => {
	}
	EnablePressuredExit => false
	LimitLoadToSessionType => [
		0: Aqua
		1: LoginWindow
	]
	InitialTaskRole => 2
	EnvironmentVariables => {
		__CF_USER_TEXT_ENCODING => 0x1F5:0x0:0x0
		TMPDIR => /var/folders/6j/5784tz8x3xn820wrtctsjjzw0000gn/T/
		SHELL => /bin/zsh
		HOME => /Users/lynnshepard
		SSH_AUTH_SOCK => /private/tmp/com.apple.launchd.pP5tDKvPMS/Listeners
		LOGNAME => lynnshepard
		PATH => /usr/bin:/bin:/usr/sbin:/sbin
		XPC_SERVICE_NAME => com.apple.Finder
		__C<�>
default	12:05:59.791218-0500	runningboardd	Invalidating assertion 379-566-569895 (target:app) from originator [osservice:566]
error	12:05:59.791435-0500	CoreServicesUIAgent	LAUNCH: RBSLaunchRequest FAILURE  org.example.Test2App  0x0-0xea9ea9 failed with error Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x6000022de850 {Error Domain=NSPOSIXErrorDomain Code=162 "Unknown error: 162" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}
error	12:05:59.791454-0500	CoreServicesUIAgent	LAUNCH: Runningboard launch of org.example.Test2App  returned RBSRequestErrorFailed, error Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x6000022de850 {Error Domain=NSPOSIXErrorDomain Code=162 "Unknown error: 162" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}, so returning -10810
error	12:05:59.791497-0500	CoreServicesUIAgent	LAUNCH: request execute thru runningboard of 0x0-0xea9ea9 org.example.Test2App/ failed with error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x6000022de850 {Error Domain=NSPOSIXErrorDomain Code=162 "Unknown error: 162" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}
default	12:05:59.791739-0500	gamepolicyd	Received state update for -1 (app, none-NotVisible
default	12:05:59.879055-0500	gamepolicyd	Received state update for -1 (app, none-NotVisible

/Library/Java/JavaVirtualMachines/jdk-1.8.jdk/Contents/Home/bin/java -Dmaven.multiModuleProjectDirectory=/Users/lynnshepard/DEV/Test2 -Djansi.passthrough=true -Dmaven.home=/Applications/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven3 -Dclassworlds.conf=/Applications/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven3/bin/m2.conf -Dmaven.ext.class.path=/Applications/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven-event-listener.jar -javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=61546:/Applications/IntelliJ IDEA CE.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds.license:/Applications/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.6.0.jar org.codehaus.classworlds.Launcher -Didea.version=2022.3.1 package
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------------------< org.example:Test2 >--------------------------
[INFO] Building Test2 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ Test2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ Test2 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /Users/lynnshepard/DEV/Test2/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ Test2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/lynnshepard/DEV/Test2/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ Test2 ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ Test2 ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ Test2 ---
[INFO] Building jar: /Users/lynnshepard/DEV/Test2/target/Test2-1.0-SNAPSHOT.jar
[INFO] 
[INFO] --- javapackager:1.7.3:package (default) @ Test2 ---
[INFO] Using packager io.github.fvarrui.javapackager.packagers.MacPackager
[INFO] Creating app ...
[INFO]     Initializing packager ...
[INFO]         PackagerSettings [outputDirectory=/Users/lynnshepard/DEV/Test2/target, licenseFile=null, iconFile=null, generateInstaller=true, forceInstaller=false, mainClass=org.example.Test2App, name=Test2, displayName=Test2, version=1.0-SNAPSHOT, description=Test2, url=null, administratorRequired=false, organizationName=ACME, organizationUrl=, organizationEmail=null, bundleJre=false, customizedJre=true, jrePath=null, jdkPath=/Library/Java/JavaVirtualMachines/jdk-1.8.jdk/Contents/Home/jre, additionalResources=[], modules=[], additionalModules=[], platform=mac, envPath=null, vmArgs=[], runnableJar=null, copyDependencies=true, jreDirectoryName=jre, winConfig=null, linuxConfig=null, macConfig=MacConfig [icnsFile=/Users/lynnshepard/DEV/Test2/src/main/resources/Force1256x256.icns, backgroundImage=null, windowWidth=540, windowHeight=360, windowX=10, windowY=60, iconSize=128, textSize=16, iconX=52, iconY=116, appsLinkIconX=360, appsLinkIconY=116, volumeIcon=null, volumeName=null, generateDmg=true, generatePkg=true, relocateJar=true, appId=org.example.Test2App, developerId=Developer ID Application: Neal Hartmann (JPFYU53MK9), entitlements=/Users/lynnshepard/DEV/Test2/src/main/resources/entitlements.plist, provisionProfile=null, customLauncher=null, customInfoPlist=null, customRuntimeInfoPlist=null, codesignApp=true, notarizeApp=true, keyChainProfile="Force1", infoPlist=InfoPlist [additionalEntries=, bundlePackageType=APPL], hardenedCodesign=true, macStartup=SCRIPT], createTarball=false, createZipball=false, extra=null, useResourcesAsWorkingDir=true, assetsDir=/Users/lynnshepard/DEV/Test2/assets, classpath=null, jreMinVersion=null, manifest=null, additionalModulePaths=[], fileAssociations=[], packagingJdk=/Library/Java/JavaVirtualMachines/jdk-1.8.jdk/Contents/Home/jre, scripts=Scripts [bootstrap=null, preInstall=null, postInstall=null], arch=aarch64]
[INFO]     Packager initialized!
[INFO]     
[INFO]     Creating app structure ...
[INFO]         Removing folder [/Users/lynnshepard/DEV/Test2/target/Test2]
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && 'rm' -fr /Users/lynnshepard/DEV/Test2/target/Test2
[INFO]         Old app folder removed /Users/lynnshepard/DEV/Test2/target/Test2
[INFO]         App folder created: /Users/lynnshepard/DEV/Test2/target/Test2
[INFO]         Assets folder created: /Users/lynnshepard/DEV/Test2/target/assets
[INFO]         App file folder created: /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app
[INFO]         Contents folder created: /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app/Contents
[INFO]         Resources folder created: /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app/Contents/Resources
[INFO]         Java folder created: /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app/Contents/Resources/Java
[INFO]         MacOS folder created: /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app/Contents/MacOS
[INFO]     App structure created!
[INFO]     
[INFO]     Resolving resources ...
[INFO]         Trying to resolve license from POM ...
[INFO]         License not resolved!
[INFO]         
[WARNING]         No license file specified
[INFO]         Copying resource [/mac/default-icon.icns] to file [/Users/lynnshepard/DEV/Test2/target/assets/Test2.icns]
[INFO]         Icon file resolved: /Users/lynnshepard/DEV/Test2/target/assets/Test2.icns
[INFO]         Effective additional resources [/Users/lynnshepard/DEV/Test2/target/assets/Test2.icns]
[INFO]     Resources resolved!
[INFO]     
[INFO]     Copying additional resources
[INFO]         Copying file [/Users/lynnshepard/DEV/Test2/target/assets/Test2.icns] to folder [/Users/lynnshepard/DEV/Test2/target/Test2/Test2.app/Contents/Resources]
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && 'cp' /Users/lynnshepard/DEV/Test2/target/assets/Test2.icns /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app/Contents/Resources/Test2.icns
[INFO]     All additional resources copied!
[INFO]     
[INFO]     Copying all dependencies ...
[INFO]     Dependencies copied to /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app/Contents/Resources/Java/libs!
[INFO]     
[INFO]     Creating runnable JAR...
[INFO] Building jar: /Users/lynnshepard/DEV/Test2/target/Test2-1.0-SNAPSHOT-runnable.jar
[INFO]         Renaming file [/Users/lynnshepard/DEV/Test2/target/Test2-runnable.jar] to [Test2-1.0-SNAPSHOT-runnable.jar]
[INFO]     Runnable jar created in /Users/lynnshepard/DEV/Test2/target/Test2-1.0-SNAPSHOT-runnable.jar!
[INFO]     
[WARNING]     JRE artifact generation skipped!
[INFO]     Copying file [/Users/lynnshepard/DEV/Test2/target/Test2-1.0-SNAPSHOT-runnable.jar] to folder [/Users/lynnshepard/DEV/Test2/target/Test2/Test2.app/Contents/Resources/Java]
[INFO]     Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && 'cp' /Users/lynnshepard/DEV/Test2/target/Test2-1.0-SNAPSHOT-runnable.jar /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app/Contents/Resources/Java/Test2-1.0-SNAPSHOT-runnable.jar
[INFO]     Copying resource [/mac/universalJavaApplicationStub.sh] to file [/Users/lynnshepard/DEV/Test2/target/Test2/Test2.app/Contents/MacOS/universalJavaApplicationStub]
[INFO]     Startup script file created in /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app/Contents/MacOS/universalJavaApplicationStub
[INFO]     Info.plist file created in /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app/Contents/Info.plist
[INFO]     Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && 'codesign' -f -o runtime --entitlements /Users/lynnshepard/DEV/Test2/src/main/resources/entitlements.plist --timestamp -s "Developer ID Application: Neal Hartmann (JPFYU53MK9)" /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app/Contents/MacOS/universalJavaApplicationStub
[INFO]     Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && 'codesign' -f -o runtime --entitlements /Users/lynnshepard/DEV/Test2/src/main/resources/entitlements.plist --timestamp -s "Developer ID Application: Neal Hartmann (JPFYU53MK9)" /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app
[ERROR]     /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app: replacing existing signature
[INFO]     Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && 'xcrun' notarytool submit /Users/lynnshepard/DEV/Test2/target/assets/Test2.app-notarization.zip --wait --keychain-profile "Force1"
[INFO]     Conducting pre-submission checks for Test2.app-notarization.zip and initiating connection to the Apple notary service...
[INFO]     Submission ID received
[INFO]       id: 7b37c10f-35aa-4a08-bc20-d1e1a1e3c708
[INFO]     Successfully uploaded file
[INFO]       id: 7b37c10f-35aa-4a08-bc20-d1e1a1e3c708
[INFO]       path: /Users/lynnshepard/DEV/Test2/target/assets/Test2.app-notarization.zip
[INFO]     Waiting for processing to complete.
[INFO]     
[INFO]     Current status: In Progress...
[INFO]     Current status: In Progress....
[INFO]     Current status: In Progress.....
[INFO]     Current status: Accepted......Processing complete
[INFO]       id: 7b37c10f-35aa-4a08-bc20-d1e1a1e3c708
[INFO]       status: Accepted
[INFO]     
[INFO]     Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && 'xcrun' stapler staple /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app
[INFO]     Processing: /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app
[INFO]     Processing: /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app
[INFO]     The staple and validate action worked!
[INFO] App created in /Users/lynnshepard/DEV/Test2/target/Test2!
[INFO] 
[INFO] Generating installers ...
[INFO]     Initializing packager ...
[INFO]         PackagerSettings [outputDirectory=/Users/lynnshepard/DEV/Test2/target, licenseFile=null, iconFile=/Users/lynnshepard/DEV/Test2/target/assets/Test2.icns, generateInstaller=true, forceInstaller=false, mainClass=org.example.Test2App, name=Test2, displayName=Test2, version=1.0-SNAPSHOT, description=Test2, url=null, administratorRequired=false, organizationName=ACME, organizationUrl=, organizationEmail=null, bundleJre=false, customizedJre=true, jrePath=null, jdkPath=/Library/Java/JavaVirtualMachines/jdk-1.8.jdk/Contents/Home/jre, additionalResources=[/Users/lynnshepard/DEV/Test2/target/assets/Test2.icns], modules=[], additionalModules=[], platform=mac, envPath=null, vmArgs=[], runnableJar=null, copyDependencies=true, jreDirectoryName=jre, winConfig=null, linuxConfig=null, macConfig=MacConfig [icnsFile=/Users/lynnshepard/DEV/Test2/src/main/resources/Force1256x256.icns, backgroundImage=null, windowWidth=540, windowHeight=360, windowX=10, windowY=60, iconSize=128, textSize=16, iconX=52, iconY=116, appsLinkIconX=360, appsLinkIconY=116, volumeIcon=null, volumeName=null, generateDmg=true, generatePkg=true, relocateJar=true, appId=org.example.Test2App, developerId=Developer ID Application: Neal Hartmann (JPFYU53MK9), entitlements=/Users/lynnshepard/DEV/Test2/src/main/resources/entitlements.plist, provisionProfile=null, customLauncher=null, customInfoPlist=null, customRuntimeInfoPlist=null, codesignApp=true, notarizeApp=true, keyChainProfile="Force1", infoPlist=InfoPlist [additionalEntries=, bundlePackageType=APPL], hardenedCodesign=true, macStartup=SCRIPT], createTarball=false, createZipball=false, extra=null, useResourcesAsWorkingDir=true, assetsDir=/Users/lynnshepard/DEV/Test2/assets, classpath=Java/Test2-1.0-SNAPSHOT-runnable.jar, jreMinVersion=null, manifest=null, additionalModulePaths=[], fileAssociations=[], packagingJdk=/Library/Java/JavaVirtualMachines/jdk-1.8.jdk/Contents/Home/jre, scripts=Scripts [bootstrap=null, preInstall=null, postInstall=null], arch=aarch64]
[INFO]     Packager initialized!
[INFO]     
[INFO]     Generating DMG image...
[INFO]         Copying background image
[INFO]         Copying resource [/mac/background.png] to file [/Users/lynnshepard/DEV/Test2/target/Test2/.background/background.png]
[INFO]         Copying icon file: /Users/lynnshepard/DEV/Test2/target/assets/Test2.icns
[INFO]         Copying file [/Users/lynnshepard/DEV/Test2/target/assets/Test2.icns] to file [/Users/lynnshepard/DEV/Test2/target/Test2/.VolumeIcon.icns]
[INFO]         Creating image: /Users/lynnshepard/DEV/Test2/target/assets/Test2_1.0-SNAPSHOT.dmg
[WARNING]         aarch64 architecture detected. Using APFS filesystem
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && 'hdiutil' create -srcfolder /Users/lynnshepard/DEV/Test2/target/Test2 -volname Test2 -ov -fs APFS -format UDRW /Users/lynnshepard/DEV/Test2/target/assets/Test2_1.0-SNAPSHOT.dmg
[INFO]         created: /Users/lynnshepard/DEV/Test2/target/assets/Test2_1.0-SNAPSHOT.dmg
[INFO]         Mounting image: /Users/lynnshepard/DEV/Test2/target/assets/Test2_1.0-SNAPSHOT.dmg
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && 'hdiutil' attach -readwrite -noverify -noautoopen /Users/lynnshepard/DEV/Test2/target/assets/Test2_1.0-SNAPSHOT.dmg
[INFO]         /dev/disk4          	GUID_partition_scheme          	
[INFO]         /dev/disk4s1        	Apple_APFS                     	
[INFO]         /dev/disk5          	EF57347C-0000-11AA-AA11-0030654	
[INFO]         /dev/disk5s1        	41504653-0000-11AA-AA11-0030654	/Volumes/Test2
[INFO]         - Device name: /dev/disk5s1
[INFO]         Creating Applications link
[INFO]         Creating symbolic link [/Volumes/Test2/Applications] to [/Applications]
[INFO]         Rendering DMG customization applescript ... 
[INFO]         Applescript rendered in /Users/lynnshepard/DEV/Test2/target/assets/customize-dmg.applescript!
[INFO]         Running applescript
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && '/usr/bin/osascript' /Users/lynnshepard/DEV/Test2/target/assets/customize-dmg.applescript Test2
[ERROR]         waited 1 seconds for .DS_STORE to be created.
[INFO]         Fixing permissions...
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && 'chmod' -Rf u+r,go-w /Volumes/Test2
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && 'SetFile' -a C /Volumes/Test2
[INFO]         Unmounting volume: /Volumes/Test2
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && 'hdiutil' detach /Volumes/Test2
[INFO]         "disk4" ejected.
[INFO]         Compressing disk image...
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && 'hdiutil' convert /Users/lynnshepard/DEV/Test2/target/assets/Test2_1.0-SNAPSHOT.dmg -ov -format UDZO -imagekey zlib-level=9 -o /Users/lynnshepard/DEV/Test2/target/Test2_1.0-SNAPSHOT.dmg
[INFO]         Preparing imaging engine�
[INFO]         Reading Protective Master Boot Record (MBR : 0)�
[INFO]            (CRC32 $5733560F: Protective Master Boot Record (MBR : 0))
[INFO]         Reading GPT Header (Primary GPT Header : 1)�
[INFO]            (CRC32 $1689F4B5: GPT Header (Primary GPT Header : 1))
[INFO]         Reading GPT Partition Data (Primary GPT Table : 2)�
[INFO]            (CRC32 $B4F9957B: GPT Partition Data (Primary GPT Table : 2))
[INFO]         Reading  (Apple_Free : 3)�
[INFO]            (CRC32 $00000000:  (Apple_Free : 3))
[INFO]         Reading disk image (Apple_APFS : 4)�
[INFO]            (CRC32 $E65CABDB: disk image (Apple_APFS : 4))
[INFO]         Reading  (Apple_Free : 5)�
[INFO]            (CRC32 $00000000:  (Apple_Free : 5))
[INFO]         Reading GPT Partition Data (Backup GPT Table : 6)�
[INFO]            (CRC32 $B4F9957B: GPT Partition Data (Backup GPT Table : 6))
[INFO]         Reading GPT Header (Backup GPT Header : 7)�
[INFO]            (CRC32 $AED2DE20: GPT Header (Backup GPT Header : 7))
[INFO]         Adding resources�
[INFO]         Elapsed Time:  3.894s
[INFO]         File size: 253354 bytes, Checksum: CRC32 $1D3578EB
[INFO]         Sectors processed: 21488, 1843 compressed
[INFO]         Speed: 236.6KB/s
[INFO]         Savings: 97.7%
[INFO]         created: /Users/lynnshepard/DEV/Test2/target/Test2_1.0-SNAPSHOT.dmg
[INFO]     DMG image generated in /Users/lynnshepard/DEV/Test2/target/Test2_1.0-SNAPSHOT.dmg!
[INFO]     
[INFO]     Generating PKG installer...
[INFO]         Executing command: /bin/sh -c cd '/Users/lynnshepard/DEV/Test2/.' && 'pkgbuild' --install-location /Applications --component /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app /Users/lynnshepard/DEV/Test2/target/Test2_1.0-SNAPSHOT.pkg
[INFO]         pkgbuild: Adding component at /Users/lynnshepard/DEV/Test2/target/Test2/Test2.app
[INFO]         pkgbuild: Wrote package to /Users/lynnshepard/DEV/Test2/target/Test2_1.0-SNAPSHOT.pkg
[INFO]     PKG installer generated in /Users/lynnshepard/DEV/Test2/target/Test2_1.0-SNAPSHOT.pkg!
[INFO]     
[INFO] Installers generated! [/Users/lynnshepard/DEV/Test2/target/Test2_1.0-SNAPSHOT.dmg, /Users/lynnshepard/DEV/Test2/target/Test2_1.0-SNAPSHOT.pkg]
[INFO] 
[INFO] Creating bundles ...
[INFO] Bundles created!
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  45.197 s
[INFO] Finished at: 2025-02-01T11:46:06-05:00
[INFO] ------------------------------------------------------------------------

Process finished with exit code 0

    4.0.0

    org.example
    Test2
    1.0-SNAPSHOT

    
        8
        8
        UTF-8
    

    
        
            
                io.github.fvarrui
                javapackager
                1.7.3
                
                    
                        package
                        
                            package
                        
                        
                            
                            org.example.Test2App
                            
                            false
                            true
                            false
                            
                            mac
                            
                                ${basedir}/src/main/resources/Force1256x256.ico
                            
                            
                                ${basedir}/src/main/resources/Force1256x256.icns
                                true
                                true
                                Developer ID Application: Neal Hartmann (JPFYU53MK9)
                                true
                                true
                                true
                                "Force1"
                                ${basedir}/src/main/resources/entitlements.plist
                                
                                    APPL
                                
                            
                        
                    
                
            
        
    

  
    com.apple.security.app-sandbox
    
    com.apple.security.cs.allow-jit
    
    com.apple.security.cs.allow-unsigned-executable-memory
    
    com.apple.security.cs.disable-executable-page-protection
    
    com.apple.security.cs.disable-library-validation
    
    com.apple.security.cs.allow-dyld-environment-variables
    
  

CFBundleGetInfoString
Test2 1.0-SNAPSHOT
CFBundleDevelopmentRegion
English
CFBundleExecutable
universalJavaApplicationStub
CFBundleIconFile
Test2.icns
CFBundleIdentifier
org.example.Test2App
CFBundleDisplayName
Test2
CFBundleInfoDictionaryVersion
6.0
CFBundleName
Test2
CFBundlePackageType
APPL
CFBundleShortVersionString
1.0-SNAPSHOT
CFBundleSignature
????
CFBundleVersion
1.0-SNAPSHOT
NSHumanReadableCopyright
ACME
NSHighResolutionCapable

NSSupportsAutomaticGraphicsSwitching

AdministratorRequired

JavaX

MainClass
org.example.Test2App
ClassPath

Java/Test2-1.0-SNAPSHOT-runnable.jar

WorkingDirectory
$APP_PACKAGE/Contents/Resources
JVMOptionsFile
$APP_PACKAGE/Contents/Resources/Test2.l4j.ini
RelocateJar


LSEnvironment

NSAppleEventsUsageDescription
There was an error while launching the application. Please
			click OK to display a dialog with more information or cancel and view
			the syslog for details.


I also would like to remind you that, as mentioned in the initial post, I am able to go into the apps Contents/MacOS folder and click on the universalJavaApplicationStub to launch the app that way. Hopefully that is a clue.... Thanks.

App Startup Issues after Upgrade to MacOS Sequoia
 
 
Q