jpackage OS X minimum OS version
Michael Hall
mik3hall at gmail.com
Fri Jan 18 15:09:27 UTC 2019
> On Jan 17, 2019, at 8:37 AM, Michael Hall <mik3hall at gmail.com> wrote:
>
> It appears there is a minimum OS version? I created a toy app. From command line…
>
> open outputdir/TestApp.app
> LSOpenURLsWithRole() failed with error -10825 for the file /Users/mjh/HalfPipe/Test/outputdir/TestApp.app.
>
> Double click launching…
>
> You can’t use this version of the application “TestApp” with this version of macOS.
> You have macOS 10.12.6. The application requires macOS 10.13 or later.
>
I looked at the plist and it does indicate a minimum required OS version of 10.9. I should have been fine with that but before looking I upgraded to 10.14 Mojave.
The first error remains. Googling shows it has happened to others, there was some suggestion it was gatekeeper related due to a renamed executable?
The second dialog does no longer appear for whatever reason, however the app does not launch. It bounces in the dock for a while and then disappears. I’m new to 10.14 so am not completely sure what Console log messages might mean. At first I thought errors that the application is not signed at all might be the cause and I would need to get an Apple developer ID. However, other apps look like they might put out the same message so maybe it is just a warning and not the cause of failure.
Other messages I see are…
default 07:42:43.796288 -0600 loginwindow -[PersistentAppsSupport applicationReady:] | App: TestApp, ready, updating active tracking timer
default 07:42:43.796399 -0600 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : TestApp
default 07:42:57.258287 -0600 TestApp TestApp:Failed to launch JVM
default 07:42:57.363177 -0600 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:TestApp, _appTrackingState = 2
default 07:42:57.363243 -0600 loginwindow -[PersistentAppsSupport applicationQuit:] | App: TestApp, quit, updating active tracking timer
default 08:44:25.006069 -0600 loginwindow -[PersistentAppsSupport applicationReady:] | App: TestApp, ready, updating active tracking timer
default 08:44:25.006358 -0600 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : TestApp
default 08:44:28.198112 -0600 TestApp TestApp:Failed to launch JVM
default 08:44:28.219273 -0600 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:TestApp, _appTrackingState = 2
default 08:44:28.219313 -0600 loginwindow -[PersistentAppsSupport applicationQuit:] | App: TestApp, quit, updating active tracking timer
Is the source for the launcher anywhere I can see what it doing and maybe do some debug messaging?
Do you want any of this bug reported?
More information about the core-libs-dev
mailing list