-
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
Pod Install does not update latest version of Pods #4994
Comments
I found a few problems with this issue:
|
Examine Podfile.lock to see the dependency requirements. Not all pods allow their dependencies to update to latest. |
Is it meaningful to force updating to the latest version of such pods by changing the versions in Podfile.lock? Example::
|
Firestore depends on exact versions of gRPC-C++ and abseil, so upgrading Firestore will not upgrade the version of those two dependencies (and their sub-dependencies) unless the version is bumped in the Firestore podspec. This includes BoringSSL-GRPC and gRPC-Core. As for the Facebook dependency, CocoaPods won't install the newest version if it's labeled as an alpha or beta version iirc. You can see the dependency specifier here. |
Thanks for your response! |
For several of these pods it's not safe to update these pods without testing from us. This is why we pin to specific versions in our podspecs. Specifically:
|
Are you able to comment on what effects upgrading gRPC could have on the performance / feature-set of Firebase? It seems like a huge leap consisting of several years of development. |
The gRPC-C++ 0.0.9 CocoaPod was an experimental packaging of gRPC 1.21 from ~May 2019. Previously only the C core and the Objective-C interface to gRPC were packaged as CocoaPods. The versioning here indicated that the CocoaPod itself was experimental, even though the C++ interface is otherwise widely used and well tested. I expect there to be no substantial differences in performance and no difference in features at all with the upgrade. |
FYI #4312 landed today and includes updates of gRPC, abseil, and BoringSSL-GRPC. We're still closely controlling the versions of these dependencies to avoid automatically propagating problems like the ones we found trying to upgrade to gRPC 1.25. Had we let versions float this would have been a disaster for all users. |
Current Pod File:
pod 'Firebase/Core'
pod 'Firebase/Database'
pod 'Firebase/Auth'
pod 'Firebase/Firestore'
pod 'Firebase/Messaging'
pod 'Firebase/AdMob'
pod 'Firebase/Functions'
pod 'FBSDKLoginKit'
Component versions installed:
BoringSSL-GRPC (0.0.3)
FBSDKCoreKit (6.0.0)
FBSDKLoginKit (6.0.0)
Firebase (6.18.0)
FirebaseAnalytics (6.3.0)
FirebaseAnalyticsInterop (1.5.0)
FirebaseAuth (6.4.3)
FirebaseAuthInterop (1.0.0)
FirebaseCore (6.6.3)
FirebaseCoreDiagnostics (1.2.1)
FirebaseCoreDiagnosticsInterop (1.2.0)
FirebaseDatabase (6.1.4)
FirebaseFirestore (1.11.0)
FirebaseFunctions (2.5.1)
FirebaseInstallations (1.1.0)
FirebaseInstanceID (4.3.2)
FirebaseMessaging (4.3.0)
GTMSessionFetcher (1.3.1)
Google-Mobile-Ads-SDK (7.55.1)
GoogleAppMeasurement (6.3.0)
GoogleDataTransport (4.0.1)
GoogleDataTransportCCTSupport (1.4.1)
GoogleUtilities (6.5.1)
PromisesObjC (1.2.8)
Protobuf (3.11.4)
abseil (0.20190808)
gRPC-C++ (0.0.9)
gRPC-Core (1.21.0)
leveldb-library (1.22)
nanopb (0.3.9011)
Installation method: `CocoaPods
pod --version -> 1.9.0
Not installing Latest Versions of 6 pods?
After i have installed above pods of Firebase, following pods below are not installed in latest version. I have deintegrated pods, cleaned pod cache, removed podLock.file, then installed again all pods and it still downloads the above versions. i have also uninstalled gem cocoapods, and installed it again and it did not help.
Result of "pod outdated"
The following pod updates are available:
The text was updated successfully, but these errors were encountered: