我无法在iOS中安装FireStore pod。
1. [!] CDN: trunk Repo update failed - 2 error(s): CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/4/3/f/FirebaseFirestoreSwift/0.2/FirebaseFirestoreSwift.podspec.json Response: Timeout was reached CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/4/3/f/FirebaseFirestoreSwift/0.3.0/FirebaseFirestoreSwift.podspec.json Response: Timeout was reached
也是这个错误
Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "nanopb": In snapshot (Podfile.lock): nanopb (= 1.30905.0, ~> 1.30905.0) In Podfile: FireStore was resolved to 1.0.0, which depends on FirebaseFirestore (~> 0.14) was resolved to 0.16.1, which depends on nanopb (~> 0.3.8) Firebase/Auth was resolved to 6.29.0, which depends on Firebase/CoreOnly (= 6.29.0) was resolved to 6.29.0, which depends on FirebaseCore (= 6.9.2) was resolved to 6.9.2, which depends on FirebaseCoreDiagnostics (~> 1.3) was resolved to 1.5.0, which depends on nanopb (~> 1.30905.0)
答案 0 :(得分:0)
pod update
可能会解决。
如果没有,请检查生成的Podfile.lock
,以了解为什么FirebaseFirestore限于非常旧的版本。
答案 1 :(得分:0)
这解决了我的问题:
pod repo update --verbose
答案 2 :(得分:0)
我也遇到了这个 Response: Timeout was reached
错误。我的解决方案是使用美国服务器(位于德国)连接到 VPN。