LLDB RPC server crash in Xcode 16.3

Created a new project in Xcode 16.3. While adding breakpoints app is crashing every time in Xcode and playground both. Tried with swift 5 and swift 6 getting same error.

Crash reason : Couldn't find the Objective-C runtime library in loaded images. Message from debugger: The LLDB RPC server has crashed. You may need to manually terminate your process

I'm having this same issue. Most of the time, the program continues execution but the breakpoints won't pause the runtime (and will only show the crash error on the console log). This only happens to me on the iOS Simulator. If I run the same scheme to a physical iOS device, the breakpoints work.

The issue happened randomly, while running Xcode 16.2. I tried moving back to Xcode 16.1 and trying Xcode 16.3, cleaning caches, reinstalling the iOS simulators, trying with other iOS simulator versions (18.1, 18, 18.5), reinstalling everything (even erasing the drive and reinstalling macOS) and the issue persists.

On Xcode 16.3, the debugger stops on breakpoints, but it still shows an error in the console log. The debugger information is incomplete. Unfortunately, the debugger still won't stop and show the stack trace when I'm debugging a crash.

I have been having this same problem for several weeks. One day it suddenly started working again and as of yesterday, started crashing - same message as reported. I'm not filing a new bug since it has now been reported here.

macOS: 15.4 Xcode: 16.2 MacBook Pro, M3 Max, 64 GB

Having the same issue :( ... it stopped working for me 2 days ago

Same here: lldb started crashing with simulator on encountering breakpoints, as of right now it even seems to crash reliably after some time.

It seems to work properly on physical device

Sequoia 15.4, XCode 16.2, iPhone 16 pro simulator 18.2

If that matters: I use github copilot xcode extension and that one also has issues => chat assistant crashes a lot and forces me to relaunch xcode every couple requests

LLDB RPC server crash in Xcode 16.3
 
 
Q