在 XCode 中分析 App IPS 文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/40447722/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 09:32:56  来源:igfitidea点击:

Analysing App IPS file in XCode

iosswiftxcodedebugging

提问by toast

I'm trying to find out why my app is crashing for certain users. I personally cannot replicate it.

我试图找出为什么我的应用程序对某些用户崩溃。我个人无法复制它。

The user emailed me their IPS file. This is the output after I've loaded it in Organiser, and right clicked, selected Re-symbolicate: http://pastebin.com/8q6RE7sU

用户通过电子邮件向我发送了他们的 IPS 文件。这是我在 Organizer 中加载它后的输出,右键单击,选择 Re-symbolicate:http: //pastebin.com/8q6RE7sU

I assume this is where the problem occurred in my code:

我认为这是我的代码中出现问题的地方:

3   FlightMachine                       0x000000010003b970 0x100028000 + 80240
4   FlightMachine                       0x000000010008b79c 0x100028000 + 407452

But how do I find out what is at 0x100028000 + 80240, to find out what the actual problem is?

但是我如何找出 at 是什么0x100028000 + 80240,找出实际问题是什么?

Thank you.

谢谢你。

采纳答案by Anni S

If you have dysmfile of your app version which got crash, you can symbolicate it using atostool with the steps mentioned in Apple documentation

如果您dysm的应用程序版本文件崩溃了,您可以使用atos带有Apple 文档中提到的步骤的工具对其进行符号化

回答by toast

For additional info, I opened Organiser, selected Download dSYMs, then went to Devices > View Error Logs, imported the IPS file into it (by drag and dropping). Then I right clicked the relevant crash and selected re-symbolicate.

有关其他信息,我打开了管理器,选择了下载 dSYM,然后转到设备 > 查看错误日志,将 IPS 文件导入其中(通过拖放)。然后我右键单击相关崩溃并选择重新符号化。

If your IPS files dont simply drag into the crash view, rename them to .crash, then back again to IPS.

如果您的 IPS 文件不是简单地拖入崩溃视图,请将它们重命名为 .crash,然后再次返回 IPS。