Unable to connect to simulator.

Former Member
Former Member

I've read through every thread I can find on the issue and have been unable to resolve this issue. I moved the sdk to my user directory where there are no spaces in the path, no spaces in my project or eclipse path either. I can open the connectiq sim from the cli and have telnet(nc) 127.0.0.1 1234 successfully, but every time i try to run a build in the simulator i get the same response: Unable to connect to simulator. I've also tried uninstalling the sdk/eclipse and reinstalling with no luck. has anyone figured out how to actually fix this?

OSX Catalina

SDK: latest

  • There’s a gremlin in the Mac that prevents Eclipse from starting the som. It eventually fixes itself. Meanwhile start the sim from the terminal.

  • Former Member
    0 Former Member in reply to Alan.raceQs

    I've only been using the terminal, i dont actually know how to start it with eclipse

  • There are two ways.

    -Under the Connect IQ menu in eclipse, there is "Start Simulator", or when you do a "run" on an app, the app gets compiled, and the sim is then launched to run it if it's not running.

  • I'm having a similar issue on the same OSX version. It stopped working out of the sudden. When opening the simulator I see it briefly showing up in the apps' bar and immediately disappearing. 

    The same happened a week or so ago, and after spending a few hours switching SDK versions and installing/uninstalling eclipse/sdk, I got it fixed by running a macOS update. However, this time I only got the BigSur update, which I'm trying to avoid until this issues  get fixed. 

    Looking at the Console, this is the only log I found useful:

    Prompting policy for hardened runtime; service: kTCCServiceAppleEvents requires entitlement com.apple.security.automation.apple-events
    but it is missing for ACC:{ID: com.garmin.connectiq.simulator, PID[2655], auid: 501, euid: 501, 
    binary path: '/Users/???/garmin/Sdks/connectiq-sdk-mac-3.2.3-2020-10-13-c14e609bd/bin/ConnectIQ.app/Contents/MacOS/simulator'}, 
    REQ:{ID: com.apple.appleeventsd, PID[1105], auid: 55, euid: 55, binary path: '/System/Library/CoreServices/appleeventsd'}

    Running the simulator from the terminal does not change anything for me, same behaviour. Tried running the app with sudo, does not help.

    Any other ideas?

  • Former Member
    0 Former Member in reply to 8978415

    hasnt worked for me ever, pretty high barrier for entry when youre trying to learn something new unfortunately

    if i do a run on the app it says it cannot be launched no recent launches, im sure this is just me not understanding eclipse but i should be able to develop with the cli/text editor(sublime) right? The sim launches just fine from the cli, but monkeydo returns the unable to connect to simulator error