Debug Failed in Xcode Simulator

I can‘t use breakpoints on the simulator after updating Xcode and the simulator. I can use breakpoints on a physical iPhone. I tired to download other iOS simulator version, but still not working. Both SwiftUI and UIKit not working.

Xcode version: 16.2

SDK version: 18.2 (22C146)

Simulator version: 18.3.1 (22D8075)

Mac OS version: 15.4 Beta

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. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach the most recent crash log.
Answered by zacJI in 827624022

I upgraded my system to 15.4 beta2 today and the problem was solved.

Thanks for the post, it seems like you are running a beta version of macOS. Can you please post the crash report from lldb?

With that file, may I ask you to submit a bug?

Once you open the bug report, please post the FB number here for my reference.

If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why?

Albert Pascual
  Worldwide Developer Relations.

Having the same issue. I filled feedback 4 day ago on this. FB16608358

Same issue for me since the latest updates to Sequoia 15.4 and 16.2. Whenever I attach to a Simulator and try to view any variable, the LLDB RPC server crashes immediately. FB16682372

Debugging physical devices still seems to work fine.

Accepted Answer

I upgraded my system to 15.4 beta2 today and the problem was solved.

Debug Failed in Xcode Simulator
 
 
Q