OGeek|极客世界-中国程序员成长平台

标题: ios - Firebase 崩溃报告隐藏 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-11 18:29
标题: ios - Firebase 崩溃报告隐藏

我将 Firebase 用于我的崩溃报告,我在 Xcode 中有一个运行脚本来上传我的 dsym 文件。

今天我在 firebase 中有一个崩溃报告,但堆栈跟踪中有这些行只是说隐藏在您希望看到导致崩溃的代码行的地方。

如何摆脱这些“隐藏”行并显示真正的代码行?
下面是我的 firebase 崩溃报告。

1 MyAppName __hidden#483_ (__hidden#9327_:64)
2 MyAppName __hidden#483_ (__hidden#9327_:64)
3 MyAppName __hidden#483_ (__hidden#9327_)
4 Foundation _decodeObjectBinary + 418924
5 Foundation -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 446284
6 etc....

谢谢。



Best Answer-推荐答案


我遇到了同样的问题,并通过禁用位码来解决它。 在 Build Settings 中将“Enable Bitcode”设置为 No。

enter image description here

还要确保您没有在 Firebase 控制台中丢失 dSYM 文件,仪表板附近有一个 dSYM 选项卡。 enter image description here

关于ios - Firebase 崩溃报告隐藏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45642642/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://ogeek.cn/) Powered by Discuz! X3.4