What is LLDB RPC Server ? When does it crash in Xcode? Why it crashes?

后端 未结 12 1201
走了就别回头了
走了就别回头了 2020-12-03 02:29

I am getting a message in my debugger:

The LLDB RPC server has crashed. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix

12条回答
  •  生来不讨喜
    2020-12-03 03:03

    Clearly a lot of different causes for this, but for me I was using a DispatchGroup to keep track of multiple async tasks.

    I had forgotten to call dispatchGroup.enter() before one of the async tasks (but still calling dispatchGroup.leave() when it finished).

    Adding this in fixed the crash for me.

提交回复
热议问题