通过 CocoaPods使用GoogleMLKit 0.61.0 正在将 Google Firebase 库从我项目中定义的最新库降级到下面详述的旧版本
before MLKit - Firebase/Analytics (6.27.0)
after MLKit - Firebase/Analytics (6.20.0)
before MLKit - Firebase/Core (6.27.0):
after MLKit - Firebase/Core (6.20.0):
before MLKit - nanopb (~> 1.30905.0)
before MLKit - FirebaseCore (6.8.0):
before MLKit - FirebaseCoreDiagnostics (~> 1.3)
after MLKit - nanopb (= 0.3.9011)
after MLKit - FirebaseAnalyticsInterop (1.5.0)
after MLKit - FirebaseCore (6.6.4):
after MLKit - FirebaseCoreDiagnostics (~> 1.2)
after MLKit - FirebaseCoreDiagnosticsInterop (~> 1.2)
我的播客文件:
...
pod 'Firebase/Crashlytics'
pod 'Firebase/Analytics'
pod 'Firebase/Performance'
pod 'GoogleMLKit/BarcodeScanning', '= 0.61.0'. //Latest GoogleMLKit version
pod 'GoogleMLKit/TextRecognition', '= 0.61.0'
...
根据更改日志,它对 Firebase 没有任何依赖关系,但是当我尝试使用它时,它也在更新 firebase。而且我们不能使用旧的 Firebase 版本,因为我们在那里遇到了很多问题和崩溃
This is the first release of ML Kit as a standalone SDK, independent from Firebase.
This SDK offers all the on-device APIs that were previously offered through the ML Kit for Firebase SDK.
对此的任何帮助将不胜感激