I've a framework with a dylib in my iOS app which was compiled on another machine.
I checked out the sources on my machine and tried instructing lldb
to map the source code path using:
settings set target.source-map /source/code/path/in/dylib/prefix /source/code/path/on/my/machine/prefix
To no avail, still seeing assembly.
Note #1: the dylib was compiled from C++ code in the same version of Xcode.
Note #2: I'm used nm -pa /path/to/dylib
to determine whether file paths are embedded into the debug info, and they are, lldb doesn't play along for some reason.
Thanks
UPDATE
I've followed Jim Ingham's answer below and created a script that automates this, the script is available as a gist link in this article I wrote: https://medium.com/@maxraskin/background-1b4b6a9c65be