我正在学习iOS崩溃分析。现在,我需要将崩溃日志文件导入LLDB。根据WWDC18 Session 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
。我使用方法不正确吗?正确的使用方法是什么?