Normally I'm using LLDB from Xcode, but for some cases I would prefer using Terminal. I tried to type in "xcrun lldb" , and then I set lldb mode, but how do I set the right target?
iOS Simulator
$ lldb
> process attach -n "AppName" -w
Then start app in iOS Simulator (ioslib can do this from command line). LLDB will connect once it discovers the app process.
iOS Device
Use ios-deploy (ios-deploy -d -W -b path/to/foo.app
). It will launch and connect an LLDB session.
OSX App
process attach -n "AppName"
in LLDB might work (not verified).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With