Using LLDB with iOS Simulator from CLI

I've attempted to run lldb from a shell and select an already booted & running simulator, but lldb can't "see" it:

$ xcrun lldb # or simply `lldb`
(lldb) platform select ios-simulator
  Platform: ios-simulator
    Triple: x86_64h-apple-macosx
OS Version: 10.15.3 (19D76)
    Kernel: Darwin Kernel Version 19.3.0: Thu Jan  9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64
WorkingDir: /Users/vvalekseev/Developer/avito-ios/Avito
  SDK Path: "/Applications/"
No devices are available.
(lldb) platform connect <UDID>
error: no device with UDID or name '<UDID>' was found

xcrun simctl list shows that UDID as booted.

Is there something specific I have to do in order to make lldb work with simulators?

Somebody sent me this link:

Does it mean this functionality does not work for quite a while now?

Terms of Service

Privacy Policy

Cookie Policy