如何在不引用特定类的情况下解释崩溃日志

发布于 2024-12-06 10:36:50 字数 227 浏览 0 评论 0原文

今天我的应用程序崩溃并生成了此崩溃日志。崩溃日志没有提到我的项目中的任何类,对我来说,解决这个问题几乎是不可能的。

有什么想法如何解决这个问题吗?感谢您的帮助!

Today my app crashed and generated this crashlog. The crashlog does not mention any classes in my project and to me it seems almost impossible to tackle this issue.

Any ideas how to approach this problem? Thanks for your help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

旧街凉风 2024-12-13 10:36:50

Apple 的开发人员工具中包含一个名为 symbolicatecrash 的工具。使用它,您可以符号化崩溃报告,但请注意,您需要构建的关联 .dsym 文件检查这篇文章 查看使用它的教程。

There's a tool included in Apple's Developer's tools called symbolicatecrash. With it you can symbolicate crash reports, but note that you'll need the associated .dsym file of your build Check this post to see a tutorial using it.

离笑几人歌 2024-12-13 10:36:50

这就是我运行 symbolitecrash 二进制文件的方式。

查找二进制文件 symbolitecrash

locate symbolitecrash

可选:您可以添加一个指向 /usr/bin 的便捷链接

sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash /usr/bin/symbolicatecrash

将崩溃日志复制到 Debug-iphoneos 文件夹并转到到项目

cp ~/Desktop/TheCrash.crash ~/Myproject/build/Debug-iphoneos
cd ~/MyProject/build/Debug-iphoneos

中运行crash log symbolicater

symbolicatecrash TheCrash.crash MyProject.app.dSYM > ReportWithSymbols.crash

结果

crashlog http://k.minus.com/jk4X2obwZMI7j.png

This is how I ran the symbolitecrash binary.

Find the binary symbolitecrash

locate symbolitecrash

Optional: You may add a convenience link to /usr/bin

sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash /usr/bin/symbolicatecrash

Copy the crash log to the Debug-iphoneos folder and go to the project

cp ~/Desktop/TheCrash.crash ~/Myproject/build/Debug-iphoneos
cd ~/MyProject/build/Debug-iphoneos

Run the crash log symbolicater

symbolicatecrash TheCrash.crash MyProject.app.dSYM > ReportWithSymbols.crash

The result

crashlog http://k.minus.com/jk4X2obwZMI7j.png

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文