Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can i tell which dylibs are loaded when debugging in Xcode?

I'm having some trouble with a particular library and I'm trying to test if an older version will fix my issue. The library is dynamically linked using dylib files stored near the .app file. These dylib files are all over the place and I'm not entirely sure my app is actually using the ones I'm trying to get it to use.

On visual studio you can easily look at a list of loaded dll files whilst debugging an applications. Is there any kind of similar functionality in Xcode?

like image 594
Tim MB Avatar asked Jan 14 '23 03:01

Tim MB


1 Answers

From the debugger console, when the app is paused, you can use:

image list

From the command line you can use:

$ otool -L /path/to/executable
like image 164
trojanfoe Avatar answered Jan 21 '23 20:01

trojanfoe