-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firestore crashing withFIRQueryDocumentSnapshot
.
#4271
Comments
FIRQueryDocumentSnapshot
.FIRQueryDocumentSnapshot
.
Hrm. From the error I am wondering if you're somehow getting two different definitions of FIRQueryDocumentSnapshot in your app. Can you maybe try clearing your Pods directory and Podfile.lock, and running "pod install" fresh? And if you still see the error can you share your Podfile.lock file? |
Hi @mikelehen! In fact those two issues are related. I was linking Firebase in multiple internal frameworks that I have. I think it would be advisable (unless I missed it completely), to put a warning in the documentation. |
@RuiAAPeres Thanks for following up! It sounds like this issue is resolved so I'm going to go ahead and close it. That said I'm happy to try to get the docs improved to help out future folks. Do you happen to have any suggestion of where we could document this so that you would have seen it? I'm not sure how common it is for people to run into this and where we can best document it, but I can follow up with docs folks to see what we can do. cc/ @paulb777 @ryanwilson |
[READ] Step 1: Are you in the right place?
Yes
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
I am doing a simple query to Firestore and getting a runtime crash:
Relevant Code:
The crash is happening at
unwrapped.documents
.The text was updated successfully, but these errors were encountered: