如何解决关于 UID 1 符号中 N_SO 的 LLDB 错误

How to solve LLDB error about N_SO in symbol with UID 1

当我启动 lldb 来调试 iOS 应用程序时,我遇到了以前从未遇到过的错误。

error: Veriff(0x00000001018cc000) N_SO in symbol with UID 1 has invalid sibling in debug map, please file a bug and attach the binary listed in this error

以下是错误的上下文。

(lldb) process connect connect://localhost:6666
error: Veriff(0x00000001018cc000) N_SO in symbol with UID 1 has invalid sibling in debug map, please file a bug and attach the binary listed in this error
Process 3270 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x0000000187a1f6b0 libxpc.dylib` _xpc_dictionary_apply_node_f  + 108
libxpc.dylib`_xpc_dictionary_apply_node_f:
->  0x187a1f6b0 <+108>: mov    x1, x20
    0x187a1f6b4 <+112>: blr    x21
    0x187a1f6b8 <+116>: tbz    w0, #0x0, 0x187a1f6f8     ; <+180>
    0x187a1f6bc <+120>: mov    x0, x26
    0x187a1f6c0 <+124>: cbnz   x26, 0x187a1f6a0          ; <+92>
    0x187a1f6c4 <+128>: add    x22, x22, #0x1            ; =0x1 
    0x187a1f6c8 <+132>: cmp    x22, x23
    0x187a1f6cc <+136>: b.lo   0x187a1f698               ; <+84>
Target 0: (Test app) stopped.

有没有人能够解决这个错误?

这会影响调试吗?

我以前从未见过触发该错误。如果您可以向我们提供此二进制文件,请使用 http://bugs.llvm.org or http://bugreporter.apple.com 提交错误并包含错误消息和二进制文件。

该错误意味着 lldb 无法将二进制文件中包含的某些 .o 文件中的符号映射回它们来自的 .o 文件(这是调试信息实际所在的位置。)所以该代码的调试信息将无法使用。