iOS Question B4i Simulator debugging no longer connects to IDE

marcick

Well-Known Member
Licensed User
Longtime User
Hi,
I'm having a strange issue with B4i simulator debugging that never happened before.

My setup has always worked fine for years:

  • Windows PC with B4i IDE
  • Mac on same LAN running B4i Build Server
  • Xcode + iPhone Simulator
I hadn't used the Mac for about 2 months. Today I powered it on again and now I have this problem.

Honestly, I have the feeling that I'm simply forgetting something stupid or obvious, but I can't figure out what.

Current behavior:

  • Build succeeds correctly
  • App gets installed and launched in iPhone Simulator
  • Then immediately I get the white screen saying:
"No WiFi connection! Waiting for IDE to connect"

What I already checked:

  • Build Server works correctly (compilation succeeds)
  • Windows ↔ Mac connectivity OK
  • Ping works both directions
  • Firewall disabled on Mac
  • Network is Private on Windows
  • Simulator reset / erased
  • Restarted Mac, Windows, Xcode, Simulator, Build Server
  • Cleaned project / Objects folder
  • Ports reachable from Windows to Mac
Interesting detail:
On the Mac, while the app is running, these ports are listening:

58192
58193
58194

(using lsof -nP -iTCP -sTCP:LISTEN)

and they belong to my app process.

But on Windows, B4i.exe sometimes tries connecting to different ports like:

192.168.1.57:58191
or
192.168.1.57:58196

and the connection stays in SYN_SENT.

It looks like the simulator/debugger ports and the IDE are somehow out of sync.

I did NOT change:

  • B4i version
  • Build Server version
  • Project
  • LAN configuration
The only thing that changed is that the Mac had been powered off for a couple of months.

Any idea what could cause the simulator debugger handshake to fail like this?

Thanks!
 
Top