Group Group Group Group Group Group Group Group Group Forums

Custom LLDB Commands in Practice

Learn how to use custom LLDB commands to attach to common iOS apps and modify their behavior - all without access to the source code!

This is a companion discussion topic for the original entry at

Hi Logrep,

When trying to run the command dclass -f UIView -m SpringBoard , getting following error on console

error: Unable to open module name 'SpringBoard', to see list of images use 'image list -b'

can you suggest what am i doing wrong?

@gagan5278 can you try listing the images using LLDB to see if the SpringBoard module is even available? Try: image list SpringBoard

@lolgerp thanks for reply. Now I am getting error: invalid target, create a debug target using the 'target create' command when try to run image list SpringBoard on terminal.

@gagan5278 this likely means that either LLDB has not correctly attached to SpringBoard or the SpringBoard proc doesn’t exist on your computer. You can see if your computer sees the process w/ pgrep SpringBoard in Terminal. If there’s a PID, then try attaching to it (through Terminal) via lldb -n SpringBoard or lldb -p {PID} or making sure SpringBoard is active, then perform follow the steps in the Attaching to SpringBoard section

This tutorial is more than six months old so questions are no longer supported at the moment for it. We will update it as soon as possible. Thank you! :]