-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fatal Exception: NSInternalInconsistencyException Cannot fetch token invalid checkin state #3018
Comments
The checkinfoAvailable assertion is failing - https://github.com/firebase/firebase-ios-sdk/blob/master/Firebase/InstanceID/FIRInstanceIDTokenOperation.m#L136 |
@deanthibault Thanks for reporting the issue. Can you share with us the debug log? |
Here's the console output |
Can you enable debug mode? -FIRDebugEnabled In Xcode, select Product > Scheme > Edit scheme... |
Same issue here. Occurs intermittently immediately after launch of a freshly installed app. |
assertion should only be triggered in debug mode, we should not enable assertion in release build. looks like the release build doesn't include "-DNS_BLOCK_ASSERTIONS=1", we had it in g3 but I guess we need to include it in github version as well. |
@chliangGoogle There is no github release build. We release the source. In many cases, we want any developer, whether 1st party or 3rd party, to get the assertion. If that's not the case here, we should change the code. |
same here |
@deanthibault @choiks14 can you download our newest SDK and see if the issue has been mitigated for you? |
This seems to be fixed. I haven't been able to reproduce this issue on v. 6.2.0. |
Thanks, closing now. If anyone else has this same issue with 6.2.0, please re-open the issue. |
[READ] Step 1: Are you in the right place?
file a Github issue.
with the firebase tag.
google group.
of the above categories, reach out to the personalized
Firebase support channel.
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Getting crash when calling FirebaseApp.configure() in willFinishLaunchingWithOptions
Steps to reproduce:
What happened? How can we make the problem occur?
This is happening when running in iOS simulator.
It occurs after running the app, then deleting app from simulator and running again.
It is intermittently reproducible.
Fatal Exception: NSInternalInconsistencyException
Cannot fetch token invalid checkin state
Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x113e9f1a3 (Missing)
1 libobjc.A.dylib 0x112e0b735 objc_exception_throw
2 CoreFoundation 0x113e9ef42 (Missing)
3 Foundation 0x11158f940 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:]
4 mpdx-ios 0x10f04dd03 -[FIRInstanceIDTokenOperation start] (FIRInstanceIDTokenOperation.m:136)
5 Foundation 0x1115fcc4b __NSOQSchedule_f
6 libdispatch.dylib 0x115a624e1 (Missing)
7 libdispatch.dylib 0x115a6354b (Missing)
8 libdispatch.dylib 0x115a65f70 (Missing)
9 libdispatch.dylib 0x115a655dd (Missing)
10 libdispatch.dylib 0x115a72491 (Missing)
11 libdispatch.dylib 0x115a72cfb (Missing)
12 libsystem_pthread.dylib 0x115e49169 (Missing)
13 libsystem_pthread.dylib 0x115e48be9 (Missing)
Relevant Code:
The text was updated successfully, but these errors were encountered: