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.

Issue persists for me after updating to Sequoia 15.4 Beta 2, Xcode 16.2. I tried deleting all simulators and this did not help.

same for me, on 15.4 Beta (24E5222f)

(converted to TXT)

Running into the same thing. Am no longer able to place breakpoints in any project:

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.

Xcode Version 16.2 (16C5032a)

macOS 15.4 Beta (24E5238a)

I tried reformatting my machine in case I'd messed something up, but with a clean install of Xcode this is still happening.

FB16883116 submitted with several ips crashes.

Having the exact same issue on the latest version

macOS 15.4 Beta (24E5238a)

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.

Note: It doesn't crash on breakpoints. It crashes when

  • Inspecting with po
  • Inspecting on the left panel in the Debug Area. If you disable the left panel, you can step through.
  • Enabling Environment Overrides

The crash is still here with macOS 15.4 RC2 (24E247). Xcode Version 16.2 (16C5032a).

For me it crashes when debugger is about to start.

Xcode 16.3 contains compatibility improvements for macOS 15.4. Do you still see the crash and/or the warning after updating Xcode?

For the record, the final release macOS 15.4 (24E248) and Xcode 16.2 still crashes debugger.

I am also seeing this issue on Xcode 16.3 and macOS 15.4

I have the same issue, macos 15.4 and xcode 16.2

I cannot build my project with xcode 16.3 because it gives me "ambiguous use of " errors for RxSwift methods (found in RxSwift and RxRelay), so it would be nice to have a solution for xcode16.2

Debug Failed in Xcode Simulator
 
 
Q