Tracking dependencies of a library in Mac
otool is a command-line tool shipped with Xcode and can do things similar to Dependency Walker in Windows. Where is it located? /Applications/Xcode.app/Contents/Developer/usr/bin How to use it? For instance, to know all the dependencies of libcurl dylib the following can be done: cd to /Applications/Xcode.app/Contents/Developer/usr/bin $ ./otool -L /usr/lib/libcurl.dylib Result: /usr/lib/libcurl.4.dylib (compatibility version 7.0.0,…
read more