MacOS Unable to connect to simulator.

I recently switch to a Mac and things generally work fine except after a few test runs in the simulator I eventually start getting "Unable to connect to simulator." errors and have to close the current project in VSCode and reopen it to get it working again.

This happened on Windows once in a while but on MacOS it doesn't take long before I have to reopen the project.

Any hints on how to avoid this?

Pete

  • This time the sim crashed while just sitting there as I was doing something else:

    -------------------------------------
    Translated Report (Full Report Below)
    -------------------------------------

    Process: simulator [20042]
    Path: /Users/USER/Library/Application Support/Garmin/*/ConnectIQ.app/Contents/MacOS/simulator
    Identifier: com.garmin.connectiq.simulator
    Version: 6.2.1 (6.2.1)
    Code Type: X86-64 (Translated)
    Parent Process: launchd [1]
    User ID: 501

    Date/Time: 2023-07-07 09:05:29.0231 -0700
    OS Version: macOS 13.4.1 (22F82)
    Report Version: 12
    Anonymous UUID: 5A18F4F2-35C0-936C-34A5-D2F176301C89

    Sleep/Wake UUID: EA08B6FA-803A-459E-864F-B979084E93A5

    Time Awake Since Boot: 200000 seconds
    Time Since Wake: 6281 seconds

    System Integrity Protection: enabled

    Crashed Thread: 24

    Exception Type: EXC_GUARD (SIGKILL)
    Exception Codes: GUARD_TYPE_FD
    Exception Codes: 0x000000000000000d, 0x9f04f38640167dfb

    Termination Reason: Namespace GUARD, Code 4611686022722355213

    Thread 0:: Dispatch queue: com.apple.main-thread
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0705b2 mach_msg2_trap + 10
    2 libsystem_kernel.dylib 0x7ff80b07e72d mach_msg2_internal + 78
    3 libsystem_kernel.dylib 0x7ff80b0775e4 mach_msg_overwrite + 692
    4 libsystem_kernel.dylib 0x7ff80b07089a mach_msg + 19
    5 CoreFoundation 0x7ff80b18aa40 __CFRunLoopServiceMachPort + 145
    6 CoreFoundation 0x7ff80b1894cb __CFRunLoopRun + 1365
    7 CoreFoundation 0x7ff80b18891c CFRunLoopRunSpecific + 560
    8 HIToolbox 0x7ff8150ccdad RunCurrentEventLoopInMode + 292
    9 HIToolbox 0x7ff8150ccbbe ReceiveNextEventCommon + 657
    10 HIToolbox 0x7ff8150cc918 _BlockUntilNextEventMatchingListInModeWithFilter + 64
    11 AppKit 0x7ff80e17c5d0 _DPSNextEvent + 858
    12 AppKit 0x7ff80e17b47a -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1214
    13 AppKit 0x7ff80e16dae8 -[NSApplication run] + 586
    14 simulator 0x1050372ca 0x1045b5000 + 11018954
    15 simulator 0x104f3b78d 0x1045b5000 + 9987981
    16 simulator 0x104eaf2ae 0x1045b5000 + 9413294
    17 simulator 0x104e82933 0x1045b5000 + 9230643
    18 simulator 0x104ff49ba 0x1045b5000 + 10746298
    19 simulator 0x104ee3988 0x1045b5000 + 9628040
    20 simulator 0x1045f6a02 0x1045b5000 + 268802
    21 dyld 0x205b2b41f start + 1903

    Thread 1:: com.apple.rosetta.exceptionserver
    0 runtime 0x7ff7ffed9694 0x7ff7ffed5000 + 18068

    Thread 2:: com.apple.NSEventThread
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0705b2 mach_msg2_trap + 10
    2 libsystem_kernel.dylib 0x7ff80b07e72d mach_msg2_internal + 78
    3 libsystem_kernel.dylib 0x7ff80b0775e4 mach_msg_overwrite + 692
    4 libsystem_kernel.dylib 0x7ff80b07089a mach_msg + 19
    5 CoreFoundation 0x7ff80b18aa40 __CFRunLoopServiceMachPort + 145
    6 CoreFoundation 0x7ff80b1894cb __CFRunLoopRun + 1365
    7 CoreFoundation 0x7ff80b18891c CFRunLoopRunSpecific + 560
    8 AppKit 0x7ff80e2dc789 _NSEventThread + 132
    9 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    10 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 3:: TSK bkgd
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 simulator 0x104d4a069 0x1045b5000 + 7950441
    4 simulator 0x104d4910e 0x1045b5000 + 7946510
    5 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    6 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 4:: NFM_Region_0
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 simulator 0x104d4a069 0x1045b5000 + 7950441
    4 simulator 0x104dbdbf3 0x1045b5000 + 8424435
    5 simulator 0x104d4913f 0x1045b5000 + 7946559
    6 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    7 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 5:: IOPAppMain
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 simulator 0x104d4a069 0x1045b5000 + 7950441
    4 simulator 0x104ac5cf5 0x1045b5000 + 5311733
    5 simulator 0x104d4912c 0x1045b5000 + 7946540
    6 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    7 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 6:: ant_main
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af78d _pthread_cond_wait + 1295
    3 simulator 0x104d48bc0 0x1045b5000 + 7945152
    4 simulator 0x104d4a069 0x1045b5000 + 7950441
    5 simulator 0x104a9a705 0x1045b5000 + 5134085
    6 simulator 0x104d4912c 0x1045b5000 + 7946540
    7 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    8 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 7:: GPS main
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 simulator 0x104d4a069 0x1045b5000 + 7950441
    4 simulator 0x104d4910e 0x1045b5000 + 7946510
    5 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    6 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 8:: SNS main
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 simulator 0x104d4a069 0x1045b5000 + 7950441
    4 simulator 0x104d4910e 0x1045b5000 + 7946510
    5 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    6 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 9:: fit activity
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 simulator 0x104d4a069 0x1045b5000 + 7950441
    4 simulator 0x104b0451f 0x1045b5000 + 5567775
    5 simulator 0x104d4912c 0x1045b5000 + 7946540
    6 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    7 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 10:: ftm main
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af78d _pthread_cond_wait + 1295
    3 simulator 0x104d48bc0 0x1045b5000 + 7945152
    4 simulator 0x104d4a069 0x1045b5000 + 7950441
    5 simulator 0x104b13c1e 0x1045b5000 + 5631006
    6 simulator 0x104d4912c 0x1045b5000 + 7946540
    7 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    8 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 11:: TVM main
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af78d _pthread_cond_wait + 1295
    3 simulator 0x104d48bc0 0x1045b5000 + 7945152
    4 simulator 0x104d4a069 0x1045b5000 + 7950441
    5 simulator 0x104cf38b5 0x1045b5000 + 7596213
    6 simulator 0x104d4912c 0x1045b5000 + 7946540
    7 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    8 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 12:: TVM defrag
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 simulator 0x104d4a069 0x1045b5000 + 7950441
    4 simulator 0x104d4910e 0x1045b5000 + 7946510
    5 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    6 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 13:: parse main
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 simulator 0x104d4a069 0x1045b5000 + 7950441
    4 simulator 0x1045d969b 0x1045b5000 + 149147
    5 simulator 0x104d4912c 0x1045b5000 + 7946540
    6 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    7 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 14:: GPX archive trk
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 simulator 0x104d4a069 0x1045b5000 + 7950441
    4 simulator 0x104dce955 0x1045b5000 + 8493397
    5 simulator 0x104d4912c 0x1045b5000 + 7946540
    6 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    7 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 15:: URM Main
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 simulator 0x104d4a069 0x1045b5000 + 7950441
    4 simulator 0x104ae7745 0x1045b5000 + 5449541
    5 simulator 0x104d4912c 0x1045b5000 + 7946540
    6 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    7 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 16:: mma sql bkg
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 simulator 0x104d4a069 0x1045b5000 + 7950441
    4 simulator 0x104d4910e 0x1045b5000 + 7946510
    5 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    6 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 17:: TLG main
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af78d _pthread_cond_wait + 1295
    3 simulator 0x104d48bc0 0x1045b5000 + 7945152
    4 simulator 0x104d4a069 0x1045b5000 + 7950441
    5 simulator 0x104dce77a 0x1045b5000 + 8492922
    6 simulator 0x104d4913f 0x1045b5000 + 7946559
    7 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    8 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 18:: libcurl Async H
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 simulator 0x104d4a069 0x1045b5000 + 7950441
    4 simulator 0x104ae0e55 0x1045b5000 + 5422677
    5 simulator 0x104d4913f 0x1045b5000 + 7946559
    6 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    7 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 19:: Download Manage
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 simulator 0x104d4a069 0x1045b5000 + 7950441
    4 simulator 0x104ae3615 0x1045b5000 + 5432853
    5 simulator 0x104d4913f 0x1045b5000 + 7946559
    6 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    7 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 20:: Shell main
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b077286 __accept + 10
    2 simulator 0x104dc96b2 0x1045b5000 + 8472242
    3 simulator 0x104dc6247 0x1045b5000 + 8458823
    4 simulator 0x104d4912c 0x1045b5000 + 7946540
    5 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    6 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 21:
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 libc++.1.dylib 0x7ff80afec1e2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
    4 simulator 0x104672472 0x1045b5000 + 775282
    5 simulator 0x104672377 0x1045b5000 + 775031
    6 simulator 0x10467228d 0x1045b5000 + 774797
    7 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    8 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 22:
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b077286 __accept + 10
    2 simulator 0x1046d369c 0x1045b5000 + 1173148
    3 simulator 0x1046a706d 0x1045b5000 + 991341
    4 simulator 0x104f4e22c 0x1045b5000 + 10064428
    5 simulator 0x104f4dcbf 0x1045b5000 + 10063039
    6 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    7 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 23:: Shell handler
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b0730ee __psynch_cvwait + 10
    2 libsystem_pthread.dylib 0x7ff80b0af758 _pthread_cond_wait + 1242
    3 simulator 0x104d489f3 0x1045b5000 + 7944691
    4 simulator 0x1046d2b14 0x1045b5000 + 1170196
    5 simulator 0x104dc941a 0x1045b5000 + 8471578
    6 simulator 0x104dc88cf 0x1045b5000 + 8468687
    7 simulator 0x104dc6cb3 0x1045b5000 + 8461491
    8 simulator 0x104d4912c 0x1045b5000 + 7946540
    9 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    10 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 24 Crashed:
    0 ??? 0x7ff89aca69a8 ???
    1 libsystem_kernel.dylib 0x7ff80b070fc6 close + 10
    2 simulator 0x104dc9b9b 0x1045b5000 + 8473499
    3 simulator 0x104dc8e2c 0x1045b5000 + 8470060
    4 simulator 0x104dc8c14 0x1045b5000 + 8469524
    5 simulator 0x1046d24c3 0x1045b5000 + 1168579
    6 simulator 0x104d03fae 0x1045b5000 + 7663534
    7 simulator 0x104d041c6 0x1045b5000 + 7664070
    8 simulator 0x104d25cdb 0x1045b5000 + 7802075
    9 simulator 0x104d36dd8 0x1045b5000 + 7871960
    10 simulator 0x104d39f57 0x1045b5000 + 7884631
    11 simulator 0x104d3a689 0x1045b5000 + 7886473
    12 simulator 0x104d3a85e 0x1045b5000 + 7886942
    13 simulator 0x104cb8a79 0x1045b5000 + 7355001
    14 simulator 0x104cf3695 0x1045b5000 + 7595669
    15 simulator 0x104d403ff 0x1045b5000 + 7910399
    16 simulator 0x10472a959 0x1045b5000 + 1530201
    17 simulator 0x1046ecd3e 0x1045b5000 + 1277246
    18 simulator 0x1046d7c9f 0x1045b5000 + 1191071
    19 simulator 0x104f4e22c 0x1045b5000 + 10064428
    20 simulator 0x104f4dcbf 0x1045b5000 + 10063039
    21 libsystem_pthread.dylib 0x7ff80b0af1d3 _pthread_start + 125
    22 libsystem_pthread.dylib 0x7ff80b0aabd3 thread_start + 15

    Thread 25:
    0 runtime 0x7ff7ffef787c 0x7ff7ffed5000 + 141436


    Thread 24 crashed with X86 Thread State (64-bit):
    rax: 0x0000000000000001 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0xffffffffffffffff
    rdi: 0x0000000000000080 rsi: 0x00007fc542a1514d rbp: 0x0000000000000000 rsp: 0x0000000000000000
    r8: 0x00000001054c6001 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
    r12: 0x000000000000008d r13: 0x00007fc542a15140 r14: 0x000000000000008d r15: 0x00007fc5450051e0
    rip: <unavailable> rfl: 0x0000000000000282
    tmp0: 0xffffffffffffffff tmp1: 0x00007ff89aca697c tmp2: 0x00007ff80b070fbc


    Binary Images:
    0x205b25000 - 0x205bc0fff dyld (*) <5db85b72-c63a-3182-91e5-5c942ec30e48> /usr/lib/dyld
    0x7ff7ffed5000 - 0x7ff7fff04fff runtime (*) <c4d322c3-30c5-3c52-adb8-2fd12ec92bc0> /usr/libexec/rosetta/runtime
    0x10f0a9000 - 0x10f0fcfff libRosettaRuntime (*) <c8f25cdc-b334-3f67-bc30-50e9852f8da2> /Library/Apple/*/libRosettaRuntime
    0x1045b5000 - 0x105588fff com.garmin.connectiq.simulator (6.2.1) <d6a62458-190d-3b61-b9c2-a97ab003ca67> /Users/USER/Library/Application Support/Garmin/*/ConnectIQ.app/Contents/MacOS/simulator
    0x11adbe000 - 0x11adcdfff libobjc-trampolines.dylib (*) <1d043270-56bc-35fb-bef3-b1ba8ecb9120> /usr/lib/libobjc-trampolines.dylib
    0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
    0x7ff80b06f000 - 0x7ff80b0a8ff7 libsystem_kernel.dylib (*) <eb4e80a0-99da-32dc-b9ad-394fbb50a0ac> /usr/lib/system/libsystem_kernel.dylib
    0x7ff80b10e000 - 0x7ff80b5a8fff com.apple.CoreFoundation (6.9) <661e8471-af64-30f9-9ce3-40bdaeeec321> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff81509e000 - 0x7ff815395ff1 com.apple.HIToolbox (2.1.1) <c476550b-ba3d-3c03-ba02-b4b3cfa25e68> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7ff80e13e000 - 0x7ff80f145ff8 com.apple.AppKit (6.9) <935dfca1-61f9-377d-895a-99ef90266c86> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7ff80b0a9000 - 0x7ff80b0b4fff libsystem_pthread.dylib (*) <8cb0b396-011f-31f2-8915-94cde1abae84> /usr/lib/system/libsystem_pthread.dylib
    0x7ff80afde000 - 0x7ff80b059ff7 libc++.1.dylib (*) <6e58b78c-1302-3111-b22c-b9e716235be8> /usr/lib/libc++.1.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: 0
    thread_create: 0
    thread_set_state: 0

    VM Region Summary:
    ReadOnly portion of Libraries: Total=584.9M resident=0K(0%) swapped_out_or_unallocated=584.9M(100%)
    Writable regions: Total=571.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=571.9M(100%)

    VIRTUAL REGION
    REGION TYPE SIZE COUNT (non-coalesced)
    =========== ======= =======
    Accelerate framework 128K 1
    Activity Tracing 256K 1
    CG backing stores 6912K 8
    CG image 1696K 30
    ColorSync 236K 25
    CoreAnimation 9580K 17
    CoreGraphics 16K 3
    CoreUI image data 1312K 10
    Dispatch continuations 96.0M 1
    Foundation 16K 1
    Kernel Alloc Once 8K 1
    MALLOC 181.8M 86
    MALLOC guard page 192K 8
    MALLOC_MEDIUM (reserved) 104.0M 1 reserved VM address space (unallocated)
    Rosetta Arena 4096K 2
    Rosetta Generic 1136K 281
    Rosetta IndirectBranch 1024K 1
    Rosetta JIT 128.0M 1
    Rosetta Return Stack 500K 50
    Rosetta Thread Context 500K 50
    STACK GUARD 4K 1
    Stack 20.2M 28
    Stack Guard 56.1M 24
    VM_ALLOCATE 7984K 25
    VM_ALLOCATE (reserved) 4K 1 reserved VM address space (unallocated)
    __CTF 824 1
    __DATA 24.5M 384
    __DATA_CONST 20.4M 223
    __DATA_DIRTY 877K 127
    __FONT_DATA 2352 1
    __LINKEDIT 173.3M 10
    __OBJC_RO 66.3M 1
    __OBJC_RW 2010K 2
    __TEXT 411.6M 405
    dyld private memory 260K 2
    mapped file 4.4G 1308
    shared memory 1336K 17
    unshared pmap 8432K 6
    =========== ======= =======
    TOTAL 5.7G 3144
    TOTAL, minus reserved VM space 5.6G 3144

    -----------
    Full Report
    -----------

    {"app_name":"simulator","timestamp":"2023-07-07 09:05:29.00 -0700","app_version":"6.2.1","slice_uuid":"d6a62458-190d-3b61-b9c2-a97ab003ca67","build_version":"6.2.1","platform":1,"bundleID":"com.garmin.connectiq.simulator","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.4.1 (22F82)","roots_installed":0,"name":"simulator","incident_id":"6BA9F76D-E9DE-40DD-8286-7105DA908E8D"}
    {
    "uptime" : 200000,
    "procRole" : "Background",
    "version" : 2,
    "userID" : 501,
    "deployVersion" : 210,
    "modelCode" : "Mac14,10",
    "coalitionID" : 10994,
    "osVersion" : {
    "train" : "macOS 13.4.1",
    "build" : "22F82",
    "releaseType" : "User"
    },
    "captureTime" : "2023-07-07 09:05:29.0231 -0700",
    "incident" : "6BA9F76D-E9DE-40DD-8286-7105DA908E8D",
    "pid" : 20042,
    "translated" : true,
    "cpuType" : "X86-64",
    "roots_installed" : 0,
    "bug_type" : "309",
    "procLaunch" : "2023-07-07 09:03:12.5714 -0700",
    "procStartAbsTime" : 4928927894723,
    "procExitAbsTime" : 4932202655933,
    "procName" : "simulator",
    "procPath" : "\/Users\/USER\/Library\/Application Support\/Garmin\/*\/ConnectIQ.app\/Contents\/MacOS\/simulator",
    "bundleInfo" : {"CFBundleShortVersionString":"6.2.1","CFBundleVersion":"6.2.1","CFBundleIdentifier":"com.garmin.connectiq.simulator"},
    "storeInfo" : {"deviceIdentifierForVendor":"3D59878A-5B4A-5D19-A690-441F57ACC310","thirdParty":true},
    "parentProc" : "launchd",
    "parentPid" : 1,
    "coalitionName" : "com.garmin.connectiq.simulator",
    "crashReporterKey" : "5A18F4F2-35C0-936C-34A5-D2F176301C89",
    "codeSigningID" : "com.garmin.connectiq.simulator",
    "codeSigningTeamID" : "72ES32VZUA",
    "codeSigningFlags" : 570503953,
    "codeSigningValidationCategory" : 6,
    "codeSigningTrustLevel" : 0,
    "wakeTime" : 6281,
    "sleepWakeUUID" : "EA08B6FA-803A-459E-864F-B979084E93A5",
    "sip" : "enabled",
    "exception" : {"signal":"SIGKILL","codes":"0x000000000000000d, 0x9f04f38640167dfb","guardId":-6988192963845784069,"violations":["CLOSE"],"message":" CLOSE on file descriptor 13 (guarded with 0x9f04f38640167dfb)","subtype":"GUARD_TYPE_FD","fd":13,"type":"EXC_GUARD","rawCodes":[13,-6988192963845784069]},
    "termination" : {"namespace":"GUARD","flags":2,"code":4611686022722355213},
    "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
    "faultingThread" : 24,
    "threads" : [{"id":2001936,"queue":"com.apple.main-thread","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":5554,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":6},{"imageOffset":63277,"symbol":"mach_msg2_internal","symbolLocation":78,"imageIndex":6},{"imageOffset":34276,"symbol":"mach_msg_overwrite","symbolLocation":692,"imageIndex":6},{"imageOffset":6298,"symbol":"mach_msg","symbolLocation":19,"imageIndex":6},{"imageOffset":510528,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":7},{"imageOffset":505035,"symbol":"__CFRunLoopRun","symbolLocation":1365,"imageIndex":7},{"imageOffset":502044,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":7},{"imageOffset":191917,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":8},{"imageOffset":191422,"symbol":"ReceiveNextEventCommon","symbolLocation":657,"imageIndex":8},{"imageOffset":190744,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":64,"imageIndex":8},{"imageOffset":255440,"symbol":"_DPSNextEvent","symbolLocation":858,"imageIndex":9},{"imageOffset":251002,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1214,"imageIndex":9},{"imageOffset":195304,"symbol":"-[NSApplication run]","symbolLocation":586,"imageIndex":9},{"imageOffset":11018954,"imageIndex":3},{"imageOffset":9987981,"imageIndex":3},{"imageOffset":9413294,"imageIndex":3},{"imageOffset":9230643,"imageIndex":3},{"imageOffset":10746298,"imageIndex":3},{"imageOffset":9628040,"imageIndex":3},{"imageOffset":268802,"imageIndex":3},{"imageOffset":25631,"symbol":"start","symbolLocation":1903,"imageIndex":0}]},{"id":2001945,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":18068,"imageIndex":1}]},{"id":2002013,"name":"com.apple.NSEventThread","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":5554,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":6},{"imageOffset":63277,"symbol":"mach_msg2_internal","symbolLocation":78,"imageIndex":6},{"imageOffset":34276,"symbol":"mach_msg_overwrite","symbolLocation":692,"imageIndex":6},{"imageOffset":6298,"symbol":"mach_msg","symbolLocation":19,"imageIndex":6},{"imageOffset":510528,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":7},{"imageOffset":505035,"symbol":"__CFRunLoopRun","symbolLocation":1365,"imageIndex":7},{"imageOffset":502044,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":7},{"imageOffset":1697673,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":9},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002014,"name":"TSK bkgd","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":7946510,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002015,"name":"NFM_Region_0","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":8424435,"imageIndex":3},{"imageOffset":7946559,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002016,"name":"IOPAppMain","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":5311733,"imageIndex":3},{"imageOffset":7946540,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002017,"name":"ant_main","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26509,"symbol":"_pthread_cond_wait","symbolLocation":1295,"imageIndex":10},{"imageOffset":7945152,"imageIndex":3},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":5134085,"imageIndex":3},{"imageOffset":7946540,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002018,"name":"GPS main","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":7946510,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002019,"name":"SNS main","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":7946510,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002020,"name":"fit activity","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":5567775,"imageIndex":3},{"imageOffset":7946540,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002021,"name":"ftm main","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26509,"symbol":"_pthread_cond_wait","symbolLocation":1295,"imageIndex":10},{"imageOffset":7945152,"imageIndex":3},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":5631006,"imageIndex":3},{"imageOffset":7946540,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002022,"name":"TVM main","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26509,"symbol":"_pthread_cond_wait","symbolLocation":1295,"imageIndex":10},{"imageOffset":7945152,"imageIndex":3},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":7596213,"imageIndex":3},{"imageOffset":7946540,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002023,"name":"TVM defrag","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":7946510,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002033,"name":"parse main","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":149147,"imageIndex":3},{"imageOffset":7946540,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002034,"name":"GPX archive trk","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":8493397,"imageIndex":3},{"imageOffset":7946540,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002035,"name":"URM Main","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":5449541,"imageIndex":3},{"imageOffset":7946540,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002036,"name":"mma sql bkg","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":7946510,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002038,"name":"TLG main","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26509,"symbol":"_pthread_cond_wait","symbolLocation":1295,"imageIndex":10},{"imageOffset":7945152,"imageIndex":3},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":8492922,"imageIndex":3},{"imageOffset":7946559,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002039,"name":"libcurl Async H","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":5422677,"imageIndex":3},{"imageOffset":7946559,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002040,"name":"Download Manage","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":7950441,"imageIndex":3},{"imageOffset":5432853,"imageIndex":3},{"imageOffset":7946559,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002041,"name":"Shell main","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":33414,"symbol":"__accept","symbolLocation":10,"imageIndex":6},{"imageOffset":8472242,"imageIndex":3},{"imageOffset":8458823,"imageIndex":3},{"imageOffset":7946540,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002042,"frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":57826,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":11},{"imageOffset":775282,"imageIndex":3},{"imageOffset":775031,"imageIndex":3},{"imageOffset":774797,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002043,"frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":33414,"symbol":"__accept","symbolLocation":10,"imageIndex":6},{"imageOffset":1173148,"imageIndex":3},{"imageOffset":991341,"imageIndex":3},{"imageOffset":10064428,"imageIndex":3},{"imageOffset":10063039,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002136,"name":"Shell handler","frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":16622,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":10},{"imageOffset":7944691,"imageIndex":3},{"imageOffset":1170196,"imageIndex":3},{"imageOffset":8471578,"imageIndex":3},{"imageOffset":8468687,"imageIndex":3},{"imageOffset":8461491,"imageIndex":3},{"imageOffset":7946540,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"triggered":true,"id":2002175,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":0},"r12":{"value":141},"rosetta":{"tmp2":{"value":140703313629116},"tmp1":{"value":140705725573500},"tmp0":{"value":18446744073709551615}},"rbx":{"value":0},"r8":{"value":4383858689},"r15":{"value":140485242933728},"r10":{"value":0},"rdx":{"value":18446744073709551615},"rdi":{"value":128},"r9":{"value":0},"r13":{"value":140485203153216},"rflags":{"value":642},"rax":{"value":1},"rsp":{"value":0},"r11":{"value":0},"rcx":{"value":0},"r14":{"value":141},"rsi":{"value":140485203153229}},"frames":[{"imageOffset":140705725573544,"imageIndex":5},{"imageOffset":8134,"symbol":"close","symbolLocation":10,"imageIndex":6},{"imageOffset":8473499,"imageIndex":3},{"imageOffset":8470060,"imageIndex":3},{"imageOffset":8469524,"imageIndex":3},{"imageOffset":1168579,"imageIndex":3},{"imageOffset":7663534,"imageIndex":3},{"imageOffset":7664070,"imageIndex":3},{"imageOffset":7802075,"imageIndex":3},{"imageOffset":7871960,"imageIndex":3},{"imageOffset":7884631,"imageIndex":3},{"imageOffset":7886473,"imageIndex":3},{"imageOffset":7886942,"imageIndex":3},{"imageOffset":7355001,"imageIndex":3},{"imageOffset":7595669,"imageIndex":3},{"imageOffset":7910399,"imageIndex":3},{"imageOffset":1530201,"imageIndex":3},{"imageOffset":1277246,"imageIndex":3},{"imageOffset":1191071,"imageIndex":3},{"imageOffset":10064428,"imageIndex":3},{"imageOffset":10063039,"imageIndex":3},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":2002292,"frames":[{"imageOffset":141436,"imageIndex":1}]}],
    "usedImages" : [
    {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8685506560,
    "size" : 638976,
    "uuid" : "5db85b72-c63a-3182-91e5-5c942ec30e48",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
    },
    {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703127392256,
    "size" : 196608,
    "uuid" : "c4d322c3-30c5-3c52-adb8-2fd12ec92bc0",
    "path" : "\/usr\/libexec\/rosetta\/runtime",
    "name" : "runtime"
    },
    {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4547317760,
    "size" : 344064,
    "uuid" : "c8f25cdc-b334-3f67-bc30-50e9852f8da2",
    "path" : "\/Library\/Apple\/*\/libRosettaRuntime",
    "name" : "libRosettaRuntime"
    },
    {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4368060416,
    "CFBundleShortVersionString" : "6.2.1",
    "CFBundleIdentifier" : "com.garmin.connectiq.simulator",
    "size" : 16596992,
    "uuid" : "d6a62458-190d-3b61-b9c2-a97ab003ca67",
    "path" : "\/Users\/USER\/Library\/Application Support\/Garmin\/*\/ConnectIQ.app\/Contents\/MacOS\/simulator",
    "name" : "simulator",
    "CFBundleVersion" : "6.2.1"
    },
    {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4745584640,
    "size" : 65536,
    "uuid" : "1d043270-56bc-35fb-bef3-b1ba8ecb9120",
    "path" : "\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
    },
    {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
    },
    {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703313620992,
    "size" : 237560,
    "uuid" : "eb4e80a0-99da-32dc-b9ad-394fbb50a0ac",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
    },
    {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703314272256,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 4829184,
    "uuid" : "661e8471-af64-30f9-9ce3-40bdaeeec321",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1977"
    },
    {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703481585664,
    "CFBundleShortVersionString" : "2.1.1",
    "CFBundleIdentifier" : "com.apple.HIToolbox",
    "size" : 3112946,
    "uuid" : "c476550b-ba3d-3c03-ba02-b4b3cfa25e68",
    "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
    "name" : "HIToolbox"
    },
    {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703364800512,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 16809977,
    "uuid" : "935dfca1-61f9-377d-895a-99ef90266c86",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2299.60.124"
    },
    {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703313858560,
    "size" : 49152,
    "uuid" : "8cb0b396-011f-31f2-8915-94cde1abae84",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
    },
    {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703313027072,
    "size" : 507896,
    "uuid" : "6e58b78c-1302-3111-b22c-b9e716235be8",
    "path" : "\/usr\/lib\/libc++.1.dylib",
    "name" : "libc++.1.dylib"
    }
    ],
    "sharedCache" : {
    "base" : 140703309725696,
    "size" : 21474836480,
    "uuid" : "e252f1ef-18e1-3e70-a017-75c8857887fa"
    },
    "vmSummary" : "ReadOnly portion of Libraries: Total=584.9M resident=0K(0%) swapped_out_or_unallocated=584.9M(100%)\nWritable regions: Total=571.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=571.9M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 128K 1 \nActivity Tracing 256K 1 \nCG backing stores 6912K 8 \nCG image 1696K 30 \nColorSync 236K 25 \nCoreAnimation 9580K 17 \nCoreGraphics 16K 3 \nCoreUI image data 1312K 10 \nDispatch continuations 96.0M 1 \nFoundation 16K 1 \nKernel Alloc Once 8K 1 \nMALLOC 181.8M 86 \nMALLOC guard page 192K 8 \nMALLOC_MEDIUM (reserved) 104.0M 1 reserved VM address space (unallocated)\nRosetta Arena 4096K 2 \nRosetta Generic 1136K 281 \nRosetta IndirectBranch 1024K 1 \nRosetta JIT 128.0M 1 \nRosetta Return Stack 500K 50 \nRosetta Thread Context 500K 50 \nSTACK GUARD 4K 1 \nStack 20.2M 28 \nStack Guard 56.1M 24 \nVM_ALLOCATE 7984K 25 \nVM_ALLOCATE (reserved) 4K 1 reserved VM address space (unallocated)\n__CTF 824 1 \n__DATA 24.5M 384 \n__DATA_CONST 20.4M 223 \n__DATA_DIRTY 877K 127 \n__FONT_DATA 2352 1 \n__LINKEDIT 173.3M 10 \n__OBJC_RO 66.3M 1 \n__OBJC_RW 2010K 2 \n__TEXT 411.6M 405 \ndyld private memory 260K 2 \nmapped file 4.4G 1308 \nshared memory 1336K 17 \nunshared pmap 8432K 6 \n=========== ======= ======= \nTOTAL 5.7G 3144 \nTOTAL, minus reserved VM space 5.6G 3144 \n",
    "legacyInfo" : {
    "threadTriggered" : {

    }
    },
    "logWritingSignature" : "056339edc761f7b78b10412b61ae0a1e0178ef6b",
    "trialInfo" : {
    "rollouts" : [
    {
    "rolloutId" : "62699e1ec1ff2978b47f6c3b",
    "factorPackIds" : {
    "SIRI_FIND_MY_CONFIGURATION_FILES" : "631f72d1de559130376df1fb"
    },
    "deploymentId" : 240000023
    },
    {
    "rolloutId" : "63582c5f8a53461413999550",
    "factorPackIds" : {

    },
    "deploymentId" : 240000002
    }
    ],
    "experiments" : [
    {
    "treatmentId" : "8ca8349c-e2bc-482c-9ca7-3907b48a5341",
    "experimentId" : "648b5a581b04c12d4127bbb6",
    "deploymentId" : 400000001
    }
    ]
    }
    }

    Model: Mac14,10, BootROM 8422.121.1, proc 12:8:4 processors, 32 GB, SMC
    Graphics: Apple M2 Pro, Apple M2 Pro, Built-In
    Display: Color LCD, 3456 x 2234 Retina, Main, MirrorOff, Online
    Display: HS156KN, 3840 x 2160 (2160p/4K UHD 1 - Ultra High Definition), MirrorOff, Online
    Memory Module: LPDDR5, Micron
    AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4388), wl0: Apr 15 2023 07:04:38 version 23.20.84.0.40.50.94 FWID 01-a7cc62f5
    Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
    Network Service: Wi-Fi, AirPort, en0
    USB Device: USB31Bus
    USB Device: USB31Bus
    USB Device: USB31Bus
    Thunderbolt Bus: MacBook Pro, Apple Inc.
    Thunderbolt Bus: MacBook Pro, Apple Inc.
    Thunderbolt Bus: MacBook Pro, Apple Inc.

  • I'm having similar issue with "Unable to connect to simulator." error randomly happening after few builds. The only thing that helps to run the sim again is full machine restart, which is not the most comfy dev experience.

    Current system:
    MacOS Ventura 13.4.1 (c) (22F770820d)

    ➜  ~ java --version
    openjdk 17.0.10 2024-01-16
    OpenJDK Runtime Environment Homebrew (build 17.0.10+0)
    OpenJDK 64-Bit Server VM Homebrew (build 17.0.10+0, mixed mode, sharing)

  • I think it happens a lot more now, since I use SDK 7.1.0

  • Agreed:

    MacOS Ventura 14.4.1 + Java 8:

    using connectiq-sdk-mac-6.4.2-2024-01-04-a1dd13ee0 sim always comes up, and the only hiccup is that if I leave it running for hours it will crash;

    SDK7 however fails completely, i.e. no matter how many times I try I consistently get 'Unable to connect to simulator',

    and this is true for both connectiq-sdk-mac-7.1.0_RC2-2024-02-14-4a71df847 and connectiq-sdk-mac-7.1.1-2024-04-11-66d0159ae

  • I've been running VSCode on Mac Intel successfully. On a Mac w/ the Apple Silicon, things doesn't work and I have no idea why.. Been pulling my hair out.

    I've been getting unable to connect to simulator from the CLI and VScode debugger console.

    MacOs 14.4 Sonoma

    connectIQ-Mac-7.3 (latest SDK)

     java --version

    openjdk 21.0.4 2024-07-16 LTS

    OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS)

    OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (build 21.0.4+7-LTS, mixed mode)

    I've tried running it from the CLI eg: ... ConnectIQ.app/Macosx/Simulator but it doesn't want to be able to connect

    Is this because it's not supported? Apple Silicon? Do I need to run it under Rosetta? I'm not even sure how this can be enabled esp if I'm running on the CLI

     ~/Library/Application\ Support/Garmin/ConnectIQ/Sdks/connectiq-sdk-mac-7.3.0-2024-08-27-36488f6f5/bin/monkeydo ~/Documents/ConnectIQ/AppTestV2-20220125/bin-release/apptest-20210303.prg fenix5plus 

    Unable to connect to Simulator

    I've also tried booting into safe mode and still having this issue. I have looked and there doesn't seem to be anything binding to ports 1234-1238 far as I can tell (using net stat -tanp tcp)

    I think it's not going to be useful for me to try reverting to Eclipse as running the monkeyDo program from the CLI still suffers this same issue 

    Help....

  • I use it on Apple silicon and have no problems.

  • Could I trouble you to provide your system details? Eg: which MacOS version. Which Java version. Which Garmin sdk version. 

    running under Rosetta?