Firestore Cocoapod未安装

问题描述

当我运行“ pod install”时,我收到错误消息

“ [!]安装BoringSSL-GRPC时出错 [!] / usr / bin / git克隆https://github.com/google/boringssl.git / var / folders / 4p / 459gq24124v89blbhvwjh7hc0000gn / T / d20200811-19278-1druayd --template =

克隆到'/ var / folders / 4p / 459gq24124v89blbhvwjh7hc0000gn / T / d20200811-19278-1druayd'... 错误:RPC失败; curl 18传输关闭,剩余未读数据 致命:远端意外挂断 致命的:早期EOF 致命:索引包失败”

我知道“ Firebase / firestore”是问题所在。为什么会这样?

Podfile:

project 'Pordio.xcodeproj'

# Uncomment the next line to define a global platform for your project
# platform :ios,'9.0'

target 'Pordio' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for Pordio
  pod 'Kingfisher','~> 5.14'
  pod 'GrowingTextView','0.7.2'
  pod 'NotificationBannerSwift','~> 3.0.0'

  pod 'Firebase/Core'
  pod 'Firebase/Analytics'
  pod 'Firebase/Auth'
  pod 'Firebase/Storage'
  pod 'Firebase/Messaging'
  pod 'Firebase/Performance'
  pod 'Firebase/Crashlytics'
  pod 'Firebase/Firestore'

end

解决方法

这很可能是瞬时网络故障的结果。请重试。

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...