-
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
FirebaseCoreDiagnostic.framework is a not a valid framework bundle. #4917
Comments
This comment has been minimized.
This comment has been minimized.
I see that the Info.plist is missing, but our tests are still passing without it. What issue are you seeing? Did you see the instruction about not adding any of the Firebase frameworks to the Carthage build phase at https://github.com/firebase/firebase-ios-sdk/blob/master/Carthage.md? |
Thanks for the quick response. You're definitely right, this doesn't happen on the current carthage release. I have already added a workaround to the upcoming The issue is that there no good way for carthage to tell what kind of bundle it's dealing with if there is no Adding the |
@tmpspzz Point taken. FirebaseCoreDiagnostic should be consistent with the other frameworks and have an Info.plist. We'll investigate. Thanks! |
There's a logic issue in the code: Info.plist is added at https://github.com/firebase/firebase-ios-sdk/blob/master/ZipBuilder/Sources/ZipBuilder/CarthageUtils.swift#L74 but then the CoreDiagnostics framework is overridden below https://github.com/firebase/firebase-ios-sdk/blob/master/ZipBuilder/Sources/ZipBuilder/CarthageUtils.swift#L97 |
Just run into the similar issue. I was trying if I can drop pods in our project and use Had to revert back to use cocoa pods as I have no clue how to resolve this issue. |
@DevAndArtist While it's clear there's a consistency problem, we haven't seen the issue prevent anything from working. How is it not working for you? |
@paulb777 when I try running the project in the simulator I get an error prompt from Xcode 11.3.1 before it can launch the app that this particular framework is missing the |
@DevAndArtist Thanks. We'll take a look. It might be something with the recent Xcode version. In the meantime a workaround might be to exclude FirebaseCoreDiagnostic.framework. |
Fixed and will be available in the upcoming 6.21.0 release. |
[REQUIRED] Step 1: Describe your environment
Carthage
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
Binary distribution with carthage is not working. The framework bundle is missing it's Info.plist
Relevant Code:
The text was updated successfully, but these errors were encountered: