Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Xcode Playground - The LLDB RPC server has crashed.

I am trying to learn Metal development on my MacBook Pro M1 Pro (Sequoia 15.3.1) on Xcode Playground, but when I write these two lines of code:

import Metal

let device = MTLCreateSystemDefaultDevice()!

I get the error The LLDB RPC server has crashed. Any ideas as to what I can do to solve this? I have rebooted the machine and reinstalled Xcode...

Answered by DTS Engineer in 829148022

Hello,

I was able to reproduce the same LLDB RPC server crash.

This is unexpected behavior so please send us a bug report with the Feedback Assistant.

Hello,

I was able to reproduce the same LLDB RPC server crash.

This is unexpected behavior so please send us a bug report with the Feedback Assistant.

In the meantime we recommend using a full Xcode project for learning Metal even though it's potentially less convenient.

LLDB RPC server crashes always. I have to do a lot of cleaning everytime. But it comes back very soon. Extremely annoying. https://stackoverflow.com/questions/31011062/how-to-completely-uninstall-xcode-and-clear-all-settings/33812614#33812614

Xcode Playground - The LLDB RPC server has crashed.
 
 
Q