-
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
-[FIRInstanceIDTokenInfo isFreshWithIID:]: unrecognized selector sent to instance 0x280bd0c40 #4315
Comments
This comment has been minimized.
This comment has been minimized.
@wasim954 Thank you for reaching out, can you also share the stack trace so we can get more info on this. Thanks! |
@chliangGoogle please find required (stack trace) details below 2019-11-18 19:46:04.014568+0530 MyApp[1098:367129] Stack trace : ( |
I meet the same problem. macOS version:10.14.6 podfile: target 'Unity-iPhone' do target 'NSExtension' do Logs:
|
@ryanwilson Could this be an initialization issue with InstanceID instance? |
Please anyone add a quick fix for this issue? Really stuck with this issue. From which version we are having this issue? |
Hmm, it shouldn't be. I'm not sure exactly what's going on here. I'm going to try to reproduce it and will report back. |
@saranjithpk01 We haven't been able to reproduce yet. If you have a way to reproduce, please let us know as this will helps us figure out the issue quickly. |
@ryanwilson @chliangGoogle I think I resolved this issue,I add the framework which implements the firebase SDK two times,then I removed one of them,It was not crashed. |
That’s very helpful information, thank you! @wasim954 can you check to make sure you’re only importing the Firebase frameworks once? |
@ryanwilson , @chliangGoogle I have imported following files #import <FirebaseCore/FIRApp.h> please suggest what i need to do? At least app should not crashed instead it print log of error.. |
The exception @vitalzhu @wasim954 could you share the following please to understand better your environment:
@wasim954 Do you also use Unity? |
@maksymmalyhin @ryanwilson @chliangGoogle please find required details below Podfile.lock PODS:
DEPENDENCIES:
SPEC REPOS: SPEC CHECKSUMS: PODFILE CHECKSUM: 2fbb093c26f9a4d4c3f65794b3b8e6e8a67738a0 COCOAPODS: 1.8.4 do you use frameworks using Firebase under the hood we are using Firebase by pod only Do you also use Unity? |
@wasim954 Thank you for the details, this is really helpful though now I am confused with the crash even more. Does the crash happens 100% times on the second launch for you? Would you be able to share a sample app for us to reproduce the issue locally? And another idea to double check. Can it be just a broken (for some reason) |
I wonder if there is an interaction issue between the FirebaseAnalytics and GoogleAnalytics pods? |
is there any news? I've got same error on my production app.
|
@alectogeek That looks like a different issue, perhaps #3963. If that one doesn't help you, please create another issue with your full backtrace and |
@paulb777 I've opened an issue in flutter_firebase repo, should I open one more here? |
@alectogeek You could. However, it does look like #3963 and we'll likely need more information than was provided there to make progress on it. |
Hi there. I'm having the same issue but the difference is that I'm using React Native Firebase which pulls the relevant dependencies by itself. The app crashes 100% on every second launch no matter if it's started from Xcode or installed separately from our QAs. The Firebase related stuff from the Podfile.lock is below:
|
@DKolev It will be really helpful if you could share an example of the project that we can use to reproduce the issue, so we can investigate it and provide a solution for it. Could you also answer the following questions please:
|
@maksymmalyhin Unfortunately, I won't be able to provide an example of the project. About the questions:
I'm currently trying to remove some of the libs we include in the project since after React Native 0.60 they are all auto-linked through the Podfile and maybe there is something which in combination with Firebase is producing the problem. |
@DKolev Thank you for the details and keeping doing investigation on your end. This is very weird issue and I really would like to debug it. I can see the following options to do it:
Will any of these options work for you? |
I was able to fix the issue by re-adding the framework which uses firebase within. |
@saranjithpk01 I would like to clarify some details of your case. You mentioned a framework that uses Firebase. Is it a dynamic framework? |
Thanks for the active support. It will be good if there is any way using that you guys can avoid anybody to add Firebase SDK in dynamic libraries. That would be helpful and never leads to any undefined behaviours. |
Hey @wasim954. We need more information to resolve this issue but there hasn't been an update in 7 days. I'm marking the issue as stale and if there are no new updates in the next 3 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @wasim954 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
We recently encountered a similar "mysterious" crash while testing Firebase binary distribution (b/147490887). The reason of the crash was a missing It might be also relevant for Cocoapods. Still nobody was able to reproduce this issue but for ones who has it adding the If the issue is still occuring or a workaround/fix found, any additional info on it is appreciated. |
Hi, @maksymmalyhin and everybody else. In our app, we are using also a 3rd party framework which somehow implements Firebase and this is causing issues with my configuration of FirebaseApp shared instance. Here is one of the errors I'm getting which I believe is connected to the actual problem we are discussing here:
Also, after all this, I'm getting: but in my AppDelegate.m I am doing I've contacted the devs of this library and I'm still waiting for them to reply but in the meantime do you have any suggestions on how to proceed with this? |
Firebase must be linked once into the app. It is not supported to link Firebase separately into a dynamic framework and the app. We recommend using static library frameworks for any libraries that include Firebase. |
Environment
Problem
App get crash with massage
-[FIRInstanceIDTokenInfo isFreshWithIID:]: unrecognized selector sent to instance 0x280bd0c40
Steps to reproduce
App runs correctly at first time(after deleting), as i run app second time app get crashed with massage
-[FIRInstanceIDTokenInfo isFreshWithIID:]: unrecognized selector sent to instance 0x280bd0c40
Consol Logs
The text was updated successfully, but these errors were encountered: