Defold not starting - mac os 10.14.6 (Mojave)

Hi, I’ve downloaded latest Defold version that is supposed to run on macOS 10.12 or newer but it’s not working on my old macbook pro mid 2012 with Mojave still installed. When I try to launch the editor it just got stucked and I don’t really remember which was the latest working version I’ve used, it’s at least a couple of month I’m not using defold on this macbook.

To follow there’re the logs obtained by console app filtering for ‘defold’. In particular there’s a log about a java error (macOS version is 10.14, which is below the minimum of 11.0) raised by the libglass.dylib contained in the jdk 17.0.5+8 released with defold that could be a culprit…

|default|17:35:26.167274 +0200|loginwindow|-[ApplicationManager checkInAppContext:refCon:eventData:] |      checked in app : Defold|
|---|---|---|---|
|default|17:35:26.266592 +0200|launchservicesd|CHECKIN:0x0-0x40040 532 com.defold.editor|
|default|17:35:26.274262 +0200|loginwindow|-[ApplicationManager checkInAppContext:refCon:eventData:] |      checked in app : Defold|
|default|17:35:26.341327 +0200|Defold|Current system appearance, (HLTB: 2), (SLS: 1)|
|default|17:35:26.350487 +0200|Defold|Post-registration system appearance: (HLTB: 2)|
|default|17:35:26.374870 +0200|distnoted|register name: com.apple.xctest.FakeForceTouchDevice object: com.defold.editor token: f4263 pid: 532|
|default|17:35:26.416551 +0200|Defold|27366555: RECEIVED OUT-OF-SEQUENCE NOTIFICATION: 0 vs 105, 513, <private>|
|error|17:35:26.571010 +0200|Defold|        AEGetDescData of non-desc type 'reco' not a good idea|
|default|17:35:26.630295 +0200|tccd|-[TCCDAccessIdentity staticCode]: static code for: identifier com.defold.editor, type: 0: 0x7fbbbdc4f730 at /Applications/Defold.app|
|error|17:35:26.719914 +0200|tccd|Prompting policy for hardened runtime; service: kTCCServiceAppleEvents requires entitlement com.apple.security.automation.apple-events but it is missing for ACC:{ID: com.defold.editor, PID[532], auid: 501, euid: 501, binary path: '/Applications/Defold.app/Contents/MacOS/Defold'}, REQ:{ID: com.apple.appleeventsd, PID[76], auid: 55, euid: 55, binary path: '/System/Library/CoreServices/appleeventsd'}|
|default|17:35:28.590884 +0200|java|ERROR: macOS version is 10.14, which is below the minimum of 11.0|
|default|17:35:28.635039 +0200|loginwindow|-[PersistentAppsSupport applicationQuit:] | for app:Defold, _appTrackingState = 2|

Hope you can give me some advice on this.

Thanks

You are correct. We have updated to JDK 17 as that is required by newer versions of JavaFX. And JDK 17 will only work on macOS 11 and above.

We try to never update systems unless we really need to, but in this case an upgrade to JDK 17 and JavaFX 21 was necessary since the new JavaFX version contained several critical bugfixes that was not going to be backported to older JavaFX versions. I’m afraid there is nothing we can do about it. The minimum required version for the Defold editor is from now on macOS 11 Big Sur.

5 Likes

Hi @britzl , thank you.

Can I ask you which of this Releases · defold/defold · GitHub is the latest release that should work with Mojave?

We updated to Java 17 in Defold 1.4.8 so I suggest you try the version before that.

1 Like

Thanks @Mathias_Westerdahl, the 1.4.7 works fine!