-
Notifications
You must be signed in to change notification settings - Fork 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
app crash when use cloud firestore in ios simulator #2736
Comments
Hi @Ahmedtaha123 |
Hey @TahaTesser, I have a similar problem. The output of my
I tried the same on flutter's master branch which doesn't compile and on stable which causes the same error. The issue's stacktrace is:
I guess the problem is in this part of the code (status.h, l.80 ff.):
It causes This happens anytime I try to access firestore. I use the following google/firebase-related plugins:
|
My crash is fixed after applying this suggestion: #2751 |
my app work fine in android but when i run it in simulator it crash and give me this error
`
First throw call stack:
(
0 CoreFoundation 0x00007fff23e3cf0e __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff50ba89b2 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23e3cc88 +[NSException raise:format:arguments:] + 88
3 Foundation 0x00007fff258b8c9b -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166
4 Runner 0x00000001032429e7 ZN8firebase9firestore4util16ObjcThrowHandlerENS1_13ExceptionTypeEPKcS4_iRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 343
5 Runner 0x0000000103242235 ZN8firebase9firestore4util5ThrowENS1_13ExceptionTypeEPKcS4_iRKNSt3<…>
Exited (sigterm)
`
The text was updated successfully, but these errors were encountered: