作者:杨扬洒傻 | 来源:互联网 | 2022-12-02 12:53
我正在研究iOS崩溃分析。现在,我需要将崩溃日志文件导入LLDB。正如WWDC18会议414所述,我现在拥有myApp的副本dSYM xxx.crash。在iTerm2.app中运行以下命令:
$ lldb
(lldb) command script import lldb.macosx.crashlog
(lldb) crashlog /path/xxxx.crash
但是,堆栈跟踪文件不可用,并且只有很多错误,例如:
error: unable to locate any executables from the crash log
我用错了吗?正确的使用方法是什么?