【发布时间】:2016-03-18 11:53:51
【问题描述】:
我正在浏览一些不同的编程/调试教程,并在终端中使用“otool”命令。一个例子是检查共享库。错误总是两个之一。我从文件所在的目录运行它。只输入 otool 会给出 otool “-x” 开关的列表。我查看了多个文件和目录的开关列表并得到了相同的错误。
我错过了什么?
$ otool -L DemoApp
错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool:无法打开文件:DemoApp(没有这样的文件或目录)
或
$ otool -L DemoApp.app
错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool:无法映射文件:DemoApp.app(无效参数)
【问题讨论】:
标签: ios iphone shared-libraries decompiling otool