-
Notifications
You must be signed in to change notification settings - Fork 1.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
FindCertFileInResourceBundle crashes when [NSBundle bundleIdentifier] is nil #3184
Comments
Thanks for the report - it looks like somewhere around this line is causing an issue - potentially because firebase-ios-sdk/Firestore/core/src/firebase/firestore/remote/grpc_root_certificate_finder_apple.mm Line 55 in 2c03297
|
|
@wilhuff I checked the GoogleService-Info.plist, it got value for BUNDLE_ID also just to mention, it worked when we commented out in app delegate, |
full crash log, if it could be useful
|
Sorry, I should have been clear: I’m putting together a fix. |
This fixes #3184, where under some circumestances some bundles have no CFBundleIdentifier in their Info.plist.
This fixes #3184, where under some circumstances some bundles have no CFBundleIdentifier in their Info.plist.
Fix is available for testing. If you were using CocoaPods, the way to test this out would be to add these lines to your Podfile:
Unfortunately this fix has missed the release train for the release that's currently in progress so a binary drop from us is more than two weeks away. The carthage equivalent is likely to clone our project and build binaries from it. |
This fixes #3184, where under some circumstances some bundles have no CFBundleIdentifier in their Info.plist.
This fixes #3184, where under some circumstances some bundles have no CFBundleIdentifier in their Info.plist.
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
The problem occurs only when we enable log
[[FIRConfiguration sharedInstance] setLoggerLevel:FIRLoggerLevelDebug];
Carthage:
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDatabaseBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseStorageBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json"
Steps to reproduce:
The app crashes with the below log
Relevant Code:
The text was updated successfully, but these errors were encountered: