6

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

tobltobs
  • 2,782
  • 1
  • 27
  • 33
RameshIos
  • 301
  • 1
  • 4
  • 13

4 Answers4

8

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.

Community
  • 1
  • 1
Anand Suthar
  • 3,678
  • 2
  • 30
  • 52
  • Thank you! This helped me since I had created my custom schemes, but forgot to set this setting for them. – ossmalpha Sep 19 '17 at 13:19
6

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

Shiva Kumar
  • 389
  • 3
  • 22
  • Thanks for Your Response. I added the force crash code in button action and i followed as you said , and i click on Debug in that open system log also but didn't get Crash Reports – RameshIos May 13 '15 at 12:59
  • Wait for few seconds/mins you will get the crash report. Last time i checked it took me around 20mins to get the report. – Shiva Kumar May 13 '15 at 13:00
1

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

iuriimoz
  • 951
  • 10
  • 11
0

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

Community
  • 1
  • 1
Nik
  • 1,679
  • 1
  • 20
  • 36