Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crashlytics not sending crash Reports to my Fabric dash board?

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

like image 672
RameshIos Avatar asked May 13 '15 12:05

RameshIos


People also ask

Where to see Crashlytics logs?

Crashlytics associates the logs with your crash data and displays them in the Crashlytics page of the Firebase console, under the Logs tab.

How do I log exception in Crashlytics?

You can also use Crashlytics below features to provide more information. Logging Non-Fatal Events: try { myMethodThatThrows(); } catch (Exception e) { Crashlytics. logException(e); // handle your exception here! }

What is COM Crashlytics data?

Crashlytics synthesizes an avalanche of crashes into a manageable list of issues, provides contextual information, and highlights the severity and prevalence of crashes so you can pinpoint the root cause faster.


2 Answers

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

enter image description here

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

like image 78
Anand Suthar Avatar answered Oct 08 '22 11:10

Anand Suthar


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

like image 44
Shiva Kumar Avatar answered Oct 08 '22 13:10

Shiva Kumar