首页 > 代码库 > Mac OS X查看二进制可执行文件引用的动态链接库(otool –L xxxx.dylib)

Mac OS X查看二进制可执行文件引用的动态链接库(otool –L xxxx.dylib)

Mac OS X下二进制可执行文件的动态链接库是dylib文件,Linux下用ldd查看,苹果系统用otool即可,不过要安装xcode

otool –L xxxx.dylib

 

The "strings" tool can output a list of the methods that the library calls and "otool -ov" will output the Objective-C class structures and their defined methods. 

Mac OS X查看二进制可执行文件引用的动态链接库(otool –L xxxx.dylib)