xcode Crashlytics 没有向我的 Fabric 仪表板发送崩溃报告?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/30215049/
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 07:08:28  来源:igfitidea点击:

Crashlytics not sending crash Reports to my Fabric dash board?

iosiphonexcodecrashlytics

提问by RameshIos

In My app previously used fabric for twitter integration purpose. Now i want crashlytics .so i followed as fabric guided me added framework to my project

在我的应用程序中,以前使用结构进行 Twitter 集成。现在我想要 crashlytics 。所以我按照结构指导我向我的项目添加了框架

#import "AppDelegate.h"
#import <Fabric/Fabric.h>
#import <Crashlytics/Crashlytics.h>

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{
      [Fabric with:@[TwitterKit, CrashlyticsKit]];  
}

later i added run script in Build Phase also checked with Force crash but i didn't get any crash report to my Fabric dash board ...Please Guide me Where i did mistake....

后来我在构建阶段添加了运行脚本,也检查了强制崩溃,但我的 Fabric 仪表板没有收到任何崩溃报告......请指导我哪里出错了......

回答by Anand Suthar

Finally today I found solution, to get report with dubug mode make change like in below image.

今天终于找到了解决方案,要使用 dubug 模式获取报告,请进行如下图所示的更改。

enter image description here

在此处输入图片说明

and follow these instructions,like I have also post here.

并按照这些说明进行操作,就像我也在这里发帖一样。

回答by Shiva Kumar

Where did you wrote code for Force crash?

你在哪里写了 Force crash 的代码?

You should give the code to Force crash in another class, not in AppDelegate.

您应该在另一个类中而不是在 AppDelegate 中提供强制崩溃的代码。

You should run the app from simulator or device, but not from XCode.(once run the build from Xcode, stop it and then from simulator open the app.)

您应该从模拟器或设备运行应用程序,而不是从 XCode。(一旦从 Xcode 运行构建,停止它,然后从模拟器打开应用程序。)

回答by iuriimoz

Also make sure that "Top Builds" filter is removed. enter image description here

还要确保删除了“Top Builds”过滤器。 在此处输入图片说明

回答by Nik

From Xcode 7. By default in build setting -> enable bitcode is set to YES. You need to make it NO. And then check.

从 Xcode 7. 默认情况下,在构建设置 -> 启用位码设置为 YES。你需要让它不。然后检查。

This works for me. As per my Reading app need to send the crash reports to fabric. But if the Enable bitcode is YES then you need to download the DYSM file from Xcode and upload it manually to fabric.

这对我有用。根据我的阅读应用程序需要将崩溃报告发送到结构。但是如果 Enable bitcode 为 YES,那么您需要从 Xcode 下载 DYSM 文件并手动将其上传到 fabric。

check Advanced Fabric setting

检查高级结构设置

Also please check more help

也请查看更多帮助