Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parse Crash reporting doesn't work

I'm trying to setup Parse crash reporting on iOS, using this guide, but unfortunatly, even after several crashes, there is nothing on my dashboard.

Here is my code (i'm using sdk 1.6.3) :

     - (void)crash {
        [NSException raise:NSGenericException format:@"Everything is ok. This is just a test crash."];
     }

     ...

     [ParseCrashReporting enable];
     [Parse setApplicationId:@"********"
          clientKey:@"********"];
     [self performSelector:@selector(crash) withObject:nil afterDelay:10.0];

I followed the troubleshooting guide:

  • Make sure you've enabled Crash Reporting in your App Delegate before you initialize Parse. DONE
  • If you're testing, make sure Xcode isn't catching the crash with the debugger. DONE
  • Build, run, stop the app, and then run it from the home screen. Crashes are sent on the next run of the app. Make sure the app isn't crashing again before it has a chance to send the crash information. If you're testing, you can ensure this by adding a delay. DONE
  • Crashes may take up to a minute to show up on the dashboard.DONE
  • Make sure you don't have any other crash reporting solutions linked to your application, as they might interfere with each other. DONE, (disable Flurry)

I tried on both simulator and device, as recommanded here.

Finally, i've this message in my console:

+[PFAnalytics trackEventually:params:]: unrecognized selector sent to class 0x10f08ac20

Any help is highly appreciated.

like image 521
Thomas Avatar asked Feb 23 '15 18:02

Thomas


Video Answer


1 Answers

Parse must have a bug in v1.6.3 because I have downloaded v1.6.0 and it works all fine. You can download it here:

https://parse.com/downloads/ios/parse-library/1.6.0

And this is the order for enabling:

[ParseCrashReporting enable];
[Parse setApplicationId:kParse_AppID clientKey:kParse_ClientKey];
like image 136
vatti Avatar answered Sep 29 '22 16:09

vatti