Issue Opening NW.JS on Mac

0 favourites
  • 2 posts
  • Hi everyone!

    I was hoping someone might be able to help me out with an issue I'm having exporting my game as a Desktop NW.JS file to Mac. Essentially, when I download the ZIP folder to my Macbook, unzip the folder, and attempt to open the file by right-clicking and giving my computer permission to open the file, I'm given an error message stating that "GAME TITLE quite unexpectedly" along with the following error report...

    Process: nwjs [7313]

    Path: /private/var/folders/*/TRAINBOW.app/Contents/MacOS/nwjs

    Identifier: io.nwjs.nw

    Version: 1.0.0.0 (1.0.0.0)

    Code Type: X86-64 (Native)

    Parent Process: ??? [1]

    Responsible: nwjs [7313]

    User ID: 501

    Date/Time: 2021-01-15 14:14:46.855 -0500

    OS Version: Mac OS X 10.15.7 (19H114)

    Report Version: 12

    Bridge OS Version: 3.0 (14Y908)

    Anonymous UUID: 7A92DD2A-A644-598E-2B88-ED2B69C5155F

    Sleep/Wake UUID: 8F95D44D-00AE-4E98-A0DE-BB95EFEC1DD7

    Time Awake Since Boot: 46000 seconds

    Time Since Wake: 16000 seconds

    System Integrity Protection: enabled

    Notes: Translocated Process

    Crashed Thread: 0 Dispatch queue: com.apple.main-thread

    Exception Type: EXC_CRASH (SIGABRT)

    Exception Codes: 0x0000000000000000, 0x0000000000000000

    Exception Note: EXC_CORPSE_NOTIFY

    Application Specific Information:

    dlopen /private/var/folders/5_/wz5152x15nl3qfjks1ltllf00000gn/T/AppTranslocation/1342904D-C3DF-4B11-A9DC-C83CA805F3C3/d/TRAINBOW.app/Contents/MacOS/../Frameworks/nwjs Framework.framework/Versions/86.0.4240.75/nwjs Framework: dlopen(/private/var/folders/5_/wz5152x15nl3qfjks1ltllf00000gn/T/AppTranslocation/1342904D-C3DF-4B11-A9DC-C83CA805F3C3/d/TRAINBOW.app/Contents/MacOS/../Frameworks/nwjs Framework.framework/Versions/86.0.4240.75/nwjs Framework, 257): image not found.

    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread

    0 libsystem_kernel.dylib 0x00007fff6d25b33a __pthread_kill + 10

    1 libsystem_pthread.dylib 0x00007fff6d317e60 pthread_kill + 430

    2 libsystem_c.dylib 0x00007fff6d1e2808 abort + 120

    3 libsystem_c.dylib 0x00007fff6d1e2973 abort_report_np + 177

    4 io.nwjs.nw 0x000000010818bfb8 0x10818b000 + 4024

    5 io.nwjs.nw 0x000000010818be8d main + 237

    6 libdyld.dylib 0x00007fff6d113cc9 start + 1

    Thread 0 crashed with X86 Thread State (64-bit):

    rax: 0x0000000000000000 rbx: 0x000000011796adc0 rcx: 0x00007ffee7a738f8 rdx: 0x0000000000000000

    rdi: 0x0000000000000307 rsi: 0x0000000000000006 rbp: 0x00007ffee7a73920 rsp: 0x00007ffee7a738f8

    r8: 0x00000000000644da r9: 0xffffffff00000000 r10: 0x000000011796adc0 r11: 0x0000000000000246

    r12: 0x0000000000000307 r13: 0x00006000006cc000 r14: 0x0000000000000006 r15: 0x0000000000000016

    rip: 0x00007fff6d25b33a rfl: 0x0000000000000246 cr2: 0x0000000108218000

    Logical CPU: 0

    Error Code: 0x02000148

    Trap Number: 133

    Binary Images:

    0x10818b000 - 0x1081f5fff +io.nwjs.nw (1.0.0.0 - 1.0.0.0) <259978CF-1913-300F-A053-4F9A77913C71> /var/folders/*/TRAINBOW.app/Contents/MacOS/nwjs

    0x1178a0000 - 0x117931f47 dyld (750.6) <F58DDECD-315C-3B7C-8162-A5E8E1D62FE3> /usr/lib/dyld

    0x7fff331c0000 - 0x7fff3363ffeb com.apple.CoreFoundation (6.9 - 1677.201) <56B0FE5F-D493-3DF1-ABFF-ECC450268B97> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

    0x7fff69c24000 - 0x7fff69c26ff7 libDiagnosticMessagesClient.dylib (112) <C94F3B7B-1854-38EB-9778-834501C53B3F> /usr/lib/libDiagnosticMessagesClient.dylib

    0x7fff6a0fa000 - 0x7fff6a0fbfff libSystem.B.dylib (1281.100.1) <8E6AD412-91E7-36FC-A6FD-C13B06A4952A> /usr/lib/libSystem.B.dylib

    0x7fff6a3e0000 - 0x7fff6a432fff libc++.1.dylib (902.1) <59A8239F-C28A-3B59-B8FA-11340DC85EDC> /usr/lib/libc++.1.dylib

    0x7fff6a433000 - 0x7fff6a448ffb libc++abi.dylib (902) <E692F14F-C65E-303B-9921-BB7E97D77855> /usr/lib/libc++abi.dylib

    0x7fff6aeb2000 - 0x7fff6aeb4fff libfakelink.dylib (149.1) <36146CB2-E6A5-37BB-9EE8-1B4034D8F3AD> /usr/lib/libfakelink.dylib

    0x7fff6afc4000 - 0x7fff6b21bfff libicucore.A.dylib (64260.0.1) <8AC2CB07-E7E0-340D-A849-186FA1F27251> /usr/lib/libicucore.A.dylib

    0x7fff6bf58000 - 0x7fff6bf8bfde libobjc.A.dylib (787.1) <6DF81160-5E7F-3E31-AA1E-C875E3B98AF6> /usr/lib/libobjc.A.dylib

    0x7fff6c634000 - 0x7fff6c646ff3 libz.1.dylib (76) <793D9643-CD83-3AAC-8B96-88D548FAB620> /usr/lib/libz.1.dylib

    0x7fff6cef5000 - 0x7fff6cefaff3 libcache.dylib (83) <AF488D13-9E89-35E0-B078-BE37CC5B8586> /usr/lib/system/libcache.dylib

    0x7fff6cefb000 - 0x7fff6cf06fff libcommonCrypto.dylib (60165.120.1) <C7912BE5-993E-3581-B2A0-6AABDC8C5562> /usr/lib/system/libcommonCrypto.dylib

    0x7fff6cf07000 - 0x7fff6cf0efff libcompiler_rt.dylib (101.2) <49B8F644-5705-3F16-BBE0-6FFF9B17C36E> /usr/lib/system/libcompiler_rt.dylib

    0x7fff6cf0f000 - 0x7fff6cf18ff7 libcopyfile.dylib (166.40.1) <3C481225-21E7-370A-A30E-0CCFDD64A92C> /usr/lib/system/libcopyfile.dylib

    0x7fff6cf19000 - 0x7fff6cfabfdb libcorecrypto.dylib (866.140.1) <60567BF8-80FA-359A-B2F3-A3BAEFB288FD> /usr/lib/system/libcorecrypto.dylib

    0x7fff6d0b8000 - 0x7fff6d0f8ff0 libdispatch.dylib (1173.100.2) <CD9C059C-91D9-30E8-8926-5B9CD0D5D4F5> /usr/lib/system/libdispatch.dylib

    0x7fff6d0f9000 - 0x7fff6d12ffff libdyld.dylib (750.6) <789A18C2-8AC7-3C88-813D-CD674376585D> /usr/lib/system/libdyld.dylib

    0x7fff6d130000 - 0x7fff6d130ffb libkeymgr.dylib (30) <DB3337BE-01CA-3425-BD0C-87774FC0CDC0> /usr/lib/system/libkeymgr.dylib

    0x7fff6d13e000 - 0x7fff6d13eff7 liblaunch.dylib (1738.140.2) <7200E214-9B4D-3B22-9844-4C7892FC890B> /usr/lib/system/liblaunch.dylib

    0x7fff6d13f000 - 0x7fff6d144ff7 libmacho.dylib (959.0.1) <AA613A9C-961A-3B67-B696-4622FA59FC4E> /usr/lib/system/libmacho.dylib

    0x7fff6d145000 - 0x7fff6d147ff3 libquarantine.dylib (110.40.3) <F234E51D-FD0B-3EE4-B679-AE3EE9C536C3> /usr/lib/system/libquarantine.dylib

    0x7fff6d148000 - 0x7fff6d149ff7 libremovefile.dylib (48) <7C7EFC79-BD24-33EF-B073-06AED234593E> /usr/lib/system/libremovefile.dylib

    0x7fff6d14a000 - 0x7fff6d161ff3 libsystem_asl.dylib (377.60.2) <1563EE02-0657-3B78-99BE-A947C24122EF> /usr/lib/system/libsystem_asl.dylib

    0x7fff6d162000 - 0x7fff6d162ff7 libsystem_blocks.dylib (74) <0D53847E-AF5F-3ACF-B51F-A15DEA4DEC58> /usr/lib/system/libsystem_blocks.dylib

    0x7fff6d163000 - 0x7fff6d1eafff libsystem_c.dylib (1353.100.2) <BBDED5E6-A646-3EED-B33A-91E4331EA063> /usr/lib/system/libsystem_c.dylib

    0x7fff6d1eb000 - 0x7fff6d1eeffb libsystem_configuration.dylib (1061.141.1) <0EE84C33-64FD-372B-974A-AF7A136F2068> /usr/lib/system/libsystem_configuration.dylib

    0x7fff6d1ef000 - 0x7fff6d1f2fff libsystem_coreservices.dylib (114) <A199156E-058D-3ABB-BCE9-4B9F20DCED0F> /usr/lib/system/libsystem_coreservices.dylib

    0x7fff6d1f3000 - 0x7fff6d1fbfff libsystem_darwin.dylib (1353.100.2) <5B12B5DB-3F30-37C1-8ECC-49A66B1F2864> /usr/lib/system/libsystem_darwin.dylib

    0x7fff6d1fc000 - 0x7fff6d203fff libsystem_dnssd.dylib (1096.100.3) <EBB4C2C2-E031-3094-B40A-E67BF261D295> /usr/lib/system/libsystem_dnssd.dylib

    0x7fff6d204000 - 0x7fff6d205ffb libsystem_featureflags.dylib (17) <29FD922A-EC2C-3F25-BCCC-B58D716E60EC> /usr/lib/system/libsystem_featureflags.dylib

    0x7fff6d206000 - 0x7fff6d253ff7 libsystem_info.dylib (538) <8A321605-5480-330B-AF9E-64E65DE61747> /usr/lib/system/libsystem_info.dylib

    0x7fff6d254000 - 0x7fff6d280ff7 libsystem_kernel.dylib (6153.141.10) <FF092EE8-5BEE-3B9A-8749-F0A067115C7E> /usr/lib/system/libsystem_kernel.dylib

    0x7fff6d281000 - 0x7fff6d2c8fff libsystem_m.dylib (3178) <00F331F1-0D09-39B3-8736-1FE90E64E903> /usr/lib/system/libsystem_m.dylib

    0x7fff6d2c9000 - 0x7fff6d2f0fff libsystem_malloc.dylib (283.100.6) <8549294E-4C53-36EB-99F3-584A7393D8D5> /usr/lib/system/libsystem_malloc.dylib

    0x7fff6d2f1000 - 0x7fff6d2feffb libsystem_networkextension.dylib (1095.140.2) <F06C65C5-2CBE-313C-96E1-A09240F9FE57> /usr/lib/system/libsystem_networkextension.dylib

    0x7fff6d2ff000 - 0x7fff6d308ff7 libsystem_notify.dylib (241.100.2) <FA22F928-D91B-3AA5-96BB-3186AC0FB264> /usr/lib/system/libsystem_notify.dylib

    0x7fff6d309000 - 0x7fff6d311fef libsystem_platform.dylib (220.100.1) <009A7C1F-313A-318E-B9F2-30F4C06FEA5C> /usr/lib/system/libsystem_platform.dylib

    0x7fff6d312000 - 0x7fff6d31cfff libsystem_pthread.dylib (416.100.3) <62CB1A98-0B8F-31E7-A02B-A1139927F61D> /usr/lib/system/libsystem_pthread.dylib

    0x7fff6d31d000 - 0x7fff6d321ff3 libsystem_sandbox.dylib (1217.141.2) <051C4018-4345-3034-AC98-6DE42FB8273B> /usr/lib/system/libsystem_sandbox.dylib

    0x7fff6d322000 - 0x7fff6d324fff libsystem_secinit.dylib (62.100.2) <F80872AA-E1FD-3D7E-8729-467656EC6561> /usr/lib/system/libsystem_secinit.dylib

    0x7fff6d325000 - 0x7fff6d32cffb libsystem_symptoms.dylib (1238.120.2) <702D0910-5C34-3D43-9631-8BD215DE4FE1> /usr/lib/system/libsystem_symptoms.dylib

    0x7fff6d32d000 - 0x7fff6d343ff2 libsystem_trace.dylib (1147.120.1) <BC141783-66D9-3137-A783-211B38E49ADB> /usr/lib/system/libsystem_trace.dylib

    0x7fff6d345000 - 0x7fff6d34aff7 libunwind.dylib (35.4) <42B7B509-BAFE-365B-893A-72414C92F5BF> /usr/lib/system/libunwind.dylib

    0x7fff6d34b000 - 0x7fff6d380ffe libxpc.dylib (1738.140.2) <54EEF402-42C7-3995-BADE-93C48EFC4452> /usr/lib/system/libxpc.dylib

    External Modification Summary:

    Calls made by other processes targeting this process:

    task_for_pid: 0

    thread_create: 0

    thread_set_state: 0

    Calls made by this process:

    task_for_pid: 0

    thread_create: 0

    thread_set_state: 0

    Calls made by all processes on this machine:

    task_for_pid: 32615

    thread_create: 0

    thread_set_state: 0

    VM Region Summary:

    ReadOnly portion of Libraries: Total=400.8M resident=0K(0%) swapped_out_or_unallocated=400.8M(100%)

    Writable regions: Total=538.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=538.3M(100%)

    VIRTUAL REGION

    REGION TYPE SIZE COUNT (non-coalesced)

    =========== ======= =======

    Kernel Alloc Once 8K 1

    MALLOC 146.1M 12

    MALLOC guard page 16K 4

    MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)

    STACK GUARD 56.0M 1

    Stack 8192K 1

    VM_ALLOCATE 4K 1

    __DATA 2076K 47

    __DATA_CONST 20K 1

    __LINKEDIT 388.8M 3

    __OBJC_RO 32.3M 1

    __OBJC_RW 1908K 2

    __TEXT 12.0M 45

    __UNICODE 564K 1

    shared memory 8K 2

    =========== ======= =======

    TOTAL 1.0G 123

    TOTAL, minus reserved VM space 647.6M 123

    As someone who is completely unversed in coding, I'm not sure what to do with that information! I've looked over past topics pertaining to Mac-related issues, which mostly seem to stem from issues with security and permissions (which I do not believe is the problem), notarization (which I do not think is necessary, but I could be wrong), or from quirks inherent to Construct 2 (and I am using Construct 3).

    Could it be related to the export settings I'm using? I am just using the standards options, for what it's worth.

    Has anyone else run into similar issues, or does anyone know where this problem might be stemming from? Any help or advice or expertise you could lend would be hugely appreciated! Thanks so much.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi again everyone,

    So I've done a little research into the error code above (Error Code: 0x02000148), and it seems that other people have run into the same error code when trying to launch other "unauthorized" or unsigned applications / programs on newer Mac OSs. As I mentioned before, even when I try to bypass the security settings to open the game, I still run into the same error message.

    Has anyone been able to release a working build of their game on Mac (on Catalina OS) without signing the application? Were there any particular steps you had to take?

    If not, does that mean I will have to pay for a Mac developer license to be able to sign the application?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)