Not able to see crash after migrating to Firebase from Fabric for iOS application.

290 views
Skip to first unread message

NK

unread,
Apr 17, 2019, 10:58:53 AM4/17/19
to Firebase Google Group
Hi All,

We are migrating our iOS apps from Fabric to Firebase. I did the following steps.

1. Linked all the Fabric apps to Firebase project. Able to see old crashes in Firebase Crashlytics.
2. Added Firebase SDK.
3. Removed Fabric key from Info.plist file.
4. Added GoogleService-Info.plist file into the project.
5. Replace "Fabric.with([Crashlytics.self])" with "FirebaseApp.configure()"
6. Run script in build contains "${PODS_ROOT}/Fabric/run"  and "$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)" as input files since using Xcode 10.
7. To test, I am crashing debug app using "Index out of range" fatal error.

Did I miss any steps?

I am not able to debug much. Don't see Firebase Crashlytics' logs in the console. Is it normal? And what all logs should be printed when building/running the app?

Please reply me asap. Thanks :)

Regards,
NK

Ian Barber

unread,
Apr 17, 2019, 5:42:45 PM4/17/19
to Firebase Google Group
Can you try using Crashlytics.sharedInstance().crash() to force a crash , in case there is anything odd going on in capturing the error. 
Additionally, do other Firebase services work? E.g. if you are including Analytics, does DebugView work properly?
Finally, do you see any Firebase messages in the console (even if not crashlytics specifically)?
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/a29ca717-3611-40e9-a932-4191534100f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

NK

unread,
Apr 18, 2019, 9:58:35 AM4/18/19
to Firebase Google Group
Thanks for Reply.

I tried to force crash the app using Crashlytics.sharedInstance().crash() but no nothing is coming.

I am able to see analytics in Firebase for my app.

Not able to see any firebase/crashlytics message at the time of a crash. But during build time I can see some firebase logs.

Question:
Do we need to remove Fabric Key and Fabric initialization from App delegate when we migrate our apps to Firebase?


On Thursday, April 18, 2019 at 3:12:45 AM UTC+5:30, Ian Barber wrote:
Can you try using Crashlytics.sharedInstance().crash() to force a crash , in case there is anything odd going on in capturing the error. 
Additionally, do other Firebase services work? E.g. if you are including Analytics, does DebugView work properly?
Finally, do you see any Firebase messages in the console (even if not crashlytics specifically)?

On Wed, Apr 17, 2019, 7:58 AM NK <nimi...@gmail.com> wrote:
Hi All,

We are migrating our iOS apps from Fabric to Firebase. I did the following steps.

1. Linked all the Fabric apps to Firebase project. Able to see old crashes in Firebase Crashlytics.
2. Added Firebase SDK.
3. Removed Fabric key from Info.plist file.
4. Added GoogleService-Info.plist file into the project.
5. Replace "Fabric.with([Crashlytics.self])" with "FirebaseApp.configure()"
6. Run script in build contains "${PODS_ROOT}/Fabric/run"  and "$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)" as input files since using Xcode 10.
7. To test, I am crashing debug app using "Index out of range" fatal error.

Did I miss any steps?

I am not able to debug much. Don't see Firebase Crashlytics' logs in the console. Is it normal? And what all logs should be printed when building/running the app?

Please reply me asap. Thanks :)

Regards,
NK

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fireba...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages