Crashlytics not sending crash Reports to my Fabric dash board?

笑着哭i 提交于 2019-12-10 13:42:09

问题


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

#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....


回答1:


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

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




回答2:


Where did you wrote code for Force crash?

You should give the code to Force crash in another class, not in 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.)




回答3:


Also make sure that "Top Builds" filter is removed.




回答4:


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

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.

check Advanced Fabric setting

Also please check more help



来源:https://stackoverflow.com/questions/30215049/crashlytics-not-sending-crash-reports-to-my-fabric-dash-board

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!