-
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
Firebase/Analytics - App crashing on startup after updating pods. #4711
Comments
This comment has been minimized.
This comment has been minimized.
@DannyEspina I am sorry to hear you have the issue. The method [FIRInstallationsItem registeredInstallationWithJSONData: date:error:] is defined in an Objective C category. The implementation of the method may be not loaded if you don't have a flag Could you please make sure the |
Hey @maksymmalyhin I believe I already have |
@DannyEspina I am not able to reproduce the issue on my end so far. Could you provide a sample project where the crash happens please? Another option to try.
Please let us know the result. |
@maksymmalyhin I'll see if I can somehow create a sample app. My app is currently published to the App Store and the last thing I want is to set the whole project public. Another thing I noticed is that I can only import Here's my AppDelegate
I also had Can any of this be an issue? If not, I'll post a question on stack overflow still the issue might derive from my app. If I revert the pod update then my app works fine which is why I thought it could be a issue with the framework |
@DannyEspina There must be some detail I am missing in your project configuration. When I use Cocoapods 1.8.4, Xcode 11.3 and Swift 5 with a simple app with your Podfile I can use Could you share:
Also, just another guess: may you have your Pods in a broken state for some reason? You may try As for the sample project. You may try to remove all unrelated files, API keys, |
Hey @maksymmalyhin, I finally fixed the issue. I had to compare the build settings from a sample project and mines and fixed some issues with my build settings. Thanks for the help |
@DannyEspina Happy to hear the issue was fixed for you! It will be great if you could post the settings you had to change. Then other people with similar problem will be able to find a solution faster. |
@maksymmalyhin Not much of a change as more of setting it back where it was. Over the course of me developing my first app I believe I mess around with some of the build settings (Advice from stack overflow answers for Linker Command failed with exit code 1 errors). I reseted Other linker flags, Framework Search Paths and Header Search paths. After that I did After this it worked finally |
After updating pods my app will crashing upon start up with this error:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FIRInstallationsItem registeredInstallationWithJSONData:date:error:]: unrecognized selector sent to instance 0x2825fed40'
FIRInstallationsItem is in Firebase. How can I resolve this issue?
my Podfile:
The text was updated successfully, but these errors were encountered: