-
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
Unable to install the Firebase iOS SDK (7.9.0) through SPM #7777
Comments
I found a few problems with this issue:
|
@cpdunphy Thanks for the report. I've reproduced and we're investigating ... |
It looks like a result of changing from version dependencies to hash dependencies in #7563. I'll work on a fix. |
Sounds great! I appreciate the quick turnaround. |
Im running into the same issue! Thanks for the quick fix everyone |
I just published a 7.9.1 and verified that my test example is fixed with that. For future reference, I first tried moving the 7.9.0 tag, but Xcode used a cached version of the repo and tag that didn't get reset even after removing |
@paulb777 I think I am having a related issue with boringssl-SwiftPM. Even after clearing derived data and resetting all package caches I am seeing a |
@rrozenv I am running into the same issue that you described. (Downgrading to 7.8.1 does not work as well) |
Reproduced when building for device. It's a result of https://github.com/firebase/boringSSL-SwiftPM/pull/1/files. Sorry about the churn. We clearly have to improve our SPM testing and CI. I'll work on a fix. Note this issue should be Firestore only. Locking the BoringSSL-GRPC dependency to 0.0.7 should be a workaround and I'll try to get a 0.0.9 soon. |
There is now a 0.0.9 update for BoringSSL-SwiftPM, but there is also a problem with the abseil dependency. I'll work on that one as well, and in the meantime, that needs to be force back to 0.20200225.0. I'll work through any other build issues and do my best to get a complete resolution out later today. |
@paulb777 Thanks for taking a look. Is it possible if you could force Firebase 7.9.1 to point back to abseil 0.20200225.0? Or maybe create a separate branch where this is the case? Just want to have an interim solution so I'm not blocked. Really appreciate it. |
@rrozenv I made an abseil 0.20200225.2 and my early tests successfully build after Swift Packages -> Update to Latest Package Versions. I want to do more testing before making a Firebase 7.9.2 and would appreciate any feedback on if the latest versions resolve your issues. |
It looks like fresh installs of 7.9.1 get the corrected abseil and boringssl versions. I've verified that the Firestore quickstart now builds and runs on device. Let me know if you see any additional issues or if you see the need for a 7.9.2 that forces the minimum versions of the corrected dependencies. |
@paulb777 abseil 0.20200225.2 seems to have done the trick. I don't think 7.9.2 is required. Thanks again |
The Firestore device build issue is solved by firebase/abseil-cpp-SwiftPM#3 and firebase/boringSSL-SwiftPM#2 along with tag updates. |
@paulb777 I'm getting this issue when I add the Firestore dependency with SPM and Firebase version 7.10.0 I have cleared the derived data and as soon as I add FirebaseFirestore this compilation error comes. Should I do anything else? should I open a new issue? It compiles for simulator but not for real device. |
@unxavi I'm not able to reproduce. Would you try |
@paulb777 I think what did it to me was to |
Environment
Swift Package Manager
Problem
Unable to install the Firebase iOS SDK (7.9.0) through SPM. Failing with the error:
Failed to resolve dependencies
This seems to be a problem isolated to 7.9.0, I am able to install 7.8.1 with no issues. I tried using different targeted iOS versions ranging from 13.0 - 14.4.
Reseting the Package Cache had no effect.
Steps to reproduce:
7.9.0
.Thanks for taking the time! I'm glad to see Firebase SwiftUI support extending through the new
FirebaseAnalyticsSwift
component as well. :)The text was updated successfully, but these errors were encountered: