Ballcap-iOS icon indicating copy to clipboard operation
Ballcap-iOS copied to clipboard

A way to avoid Firestore crash

Open yoching opened this issue 4 years ago • 0 comments

Hello. I'll be very happy if you could help me with avoiding firebase crash in a module!

I'm trying to make a framework that wraps Firestore SDK, but it crashes. According to some comments on GitHub, using Firebase from multiple modules have some difficulties.

Firebase is a linked statically and can only be linked once into an app. It cannot be linked into multiple dynamic frameworks.

from https://github.com/firebase/firebase-ios-sdk/issues/4263#issuecomment-551209077

My crash seems to be the same as this issue: https://github.com/firebase/firebase-ios-sdk/issues/4271

I'm interested in how Ballcap-iOS avoid this problem since it wraps Firestore in a module. Do you know how Ballcap-iOS avoids this problem?

I've uploaded my sample app which has the same crash. It crashes by executing tests. https://github.com/yoching/FirestoreDependencyExperiment

Thank you!

yoching avatar Dec 16 '19 16:12 yoching