facebook / chisel

Chisel is a collection of LLDB commands to assist debugging iOS apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`lldb` fails to execute `findinstances` command

dmpv opened this issue · comments

That's what happening:

(lldb) findinstances UIView
Error loading Chisel: "dlopen(/usr/local/Cellar/chisel/1.7.1/libexec/commands/../../lib/Chisel.framework/Chisel, 2): image not found"

The framework exists at /usr/local/Cellar/chisel/1.7.1/libexec/commands/../../lib/Chisel.framework/Chisel and other commands are running perfectly.

Thanks for the report. Was this while debugging simulator, or device? If simulator, cal you run this command and paste the results?

file /usr/local/Cellar/chisel/1.7.1/libexec/commands/../../lib/Chisel.framework/Chisel

Works fine on simulator.

Still fails on iPhone X, iOS 11.2

I'll add a usage message to indicate that findinstances is currently only enabled for simulator. I have to figure out what needs to be done to support code signing for device.