gpt4 book ai didi

ios - Xamarin Forms、MS Azure 崩溃,无法在 iOS 上运行

转载 作者:行者123 更新时间:2023-12-03 04:24:59 24 4
gpt4 key购买 nike

我关注了this link并将分析崩溃正确添加到Android,但在iOS 仅正确添加了 Analytics。为了检查 Crashes 是否在 iOS 上运行,我创建了一些崩溃,如下所示:

1.

int a = 0;
int b = 2 / a;

2.

throw new Exception("jiiiiz");

3.

Crashes.GenerateTestCrash();

但没有一个被报告给azure崩溃面板,我还检查打开的下一个 session 应用程序中是否发生错误,但它总是false:

    protected override async void OnAppearing()
{
base.OnAppearing();
var a = Crashes.HasCrashedInLastSession;
Debug.WriteLine($"Crashed?? {a}"); // is always false
}

最佳答案

正如 Mobile Center 崩溃文档中提到的有关故障排除的内容:

Right now crash reports are only visible if they can be symbolicated. For that to happen the proper symbols (dSYM) need to be uploaded. There will be a UI available later that shows which symbols are missing and how to find them.

Make sure the app doesn't crash on startup, as the SDK wouldn't have time to send the crash report. This is a limitation for any 3rd party crash reporting service.

如何为您的应用提供符号,您可以引用Uploading symbols .

关于ios - Xamarin Forms、MS Azure 崩溃,无法在 iOS 上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44302600/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com