-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Crash FABException / FirebaseApp.configure() (only on production builds) #5473
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
Comments
This comment has been minimized.
This comment has been minimized.
Looks like the exception is coming from the deprecated Fabric SDK. Could you make sure you remove Fabric SDK from your dependencies and check if you still have the issue? |
@maksymmalyhin I've already removed the fabric from my podfile - deintegrated the pod and reinstalled everything. If I check my Podfile.lock it seems it's still there indeed, so I will check to remove this. But it also seems it's there because of the old Crashlytics SDK (not the Firebase/Crashlytics). But If i remove this one, the app complains about the Crashlytics SDK not found anymore while it never gets called, so I supposed it was still necessary to use for the Firebase SDK? I'll already check if I can remove the Fabric dependency in the mean time. |
Ok @maksymmalyhin Seems cocoapods didn't remove Crashlytics and Fabric from the "Other Linker Flags" in the build settings, so it was still searching for these frameworks while i removed them. Everything seems to work for now. I will make another production build to test the case and I'll keep you up to date, thanks for the help already! |
If it's still crashing, can you symbolicate the stack trace and make sure you haven't accidentally linked Firebase twice? |
@maksymmalyhin, @morganchen12 Crash is solved for me! Thanks for the quick help! |
Happy to help! |
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
Today I've started on the firebase integration for our tvOS apps. I had some problems with integrating our topshelf extension, but then found another thread (#5126) which stated the extension needed to use the same GoogleService-Info.plist as the main app.
Finally I've got it managed to make it work on my device with running the debug version from xcode itself on the device. After succeeding I made a release version to testflight, but after installing, when I want to open the app, it opens for 1 second and then crashes. (Seems it crashes on FirebaseApp.configure())
I'm not sure if I have done anything wrong or if it's a bug.
Steps to reproduce:
What I've done:
Followed the basic integration documentation of firebase.
When running the app via Xcode on a real device it worked fine.
Debug app has 2 bundle id's
main app: com.company.mainApp.debug
extension: com.company.mainApp.debug.extension
For the release build I did the same steps, but just removed the debug GoogleService-Info.plist and replaced them with the release GoogleService-Info.plist. (This will later be a early stage run script, which will provide the correct one, but for testing now I've manually replaced them)
Release app also has 2 bundle id's (main tvOS app + topshelf)
main app: com.company.mainApp
extension: com.company.mainApp.extension
Both use in both debug/release cases the same GoogleService-info.plist (added to the correct target etc)
Since I can't attach xcode on the device because the app crashes immediately after installing from testflight I don't have any logs from xcode.
Logs from console:
I've checked my Info.plist files and I don't have any Fabric key set anymore
The text was updated successfully, but these errors were encountered: