error: Error reading commands from file lldbinit - file not found.

When I run my app on iOS 18, the following gets logged to the XCode console.

error: Error reading commands from file lldbinit - file not found.

I've never heard of that file before. What is it, why is it needed, why does the app (unbeknown to me) try to read from it, and why is it missing?

Answered by DTS Engineer in 803556022

LLDB is the debugger underlying the Xcode debugger. The .lldbinit file is read by the debugger when it starts up. You can use it to customise the debugger. For example:

% cat .lldbinit
command alias btall thread backtrace all
% lldb
(lldb) help btall
…
'btall' is an abbreviation for 'thread backtrace all'

To learn more about how this works, see the lldb man page.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Accepted Answer

LLDB is the debugger underlying the Xcode debugger. The .lldbinit file is read by the debugger when it starts up. You can use it to customise the debugger. For example:

% cat .lldbinit
command alias btall thread backtrace all
% lldb
(lldb) help btall
…
'btall' is an abbreviation for 'thread backtrace all'

To learn more about how this works, see the lldb man page.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

error: Error reading commands from file lldbinit - file not found.
 
 
Q