Yona
Yona

Reputation: 23

Set up Firebase Crashlytics on IOS

I never setted crashlytics before and when i follow officials instructions https://firebase.google.com/docs/crashlytics/get-started?platform=ios&authuser=0#add-sdk i get stuck in the run script part crashlytics version 4.6.2 enter image description here

in the output i get a confirmation that crashlytics is setted but in the dashboard i see nothing enter image description here

Upvotes: 1

Views: 2084

Answers (1)

Mahendra
Mahendra

Reputation: 8904

To test this you can force a crash..

What you can do is...

  • Add a button on view and implement its touchupInside event.
  • in that method just write fatalError()
  • Run your app and click on that button.(You app will crash here so it will be close)
  • Now open app again(Do not run app. Just open it by taping on app icon)

So the crash report will be send to firebase and you can see the result on firebase dashboard with in 5 minutes(as per their doc.).

Also you need to set this flag in build setting of your project to generate dsym file for debug mode.

enter image description here

Also this has to be set in build phase

enter image description here

Upvotes: 2

Related Questions