ios - Flutter BoringSSL-GRPC 无法安装

标签 ios xcode flutter cocoa google-cloud-firestore

我正在尝试安装软件包:cloud_firestore并且在安装依赖项时运行 pod install 时出现错误 BoringSSL-GRPC .
我是否可以以另一种方式安装依赖项并引用它/是否还有另一个我遗漏的问题。提前感谢任何可以提供帮助的人!

    Downloading dependencies

    -> Installing BoringSSL-GRPC (0.0.3)
     > Git download
     > Git download
         $ /usr/bin/git clone https://github.com/google/boringssl.git /var/folders/2g/mfqr5f5148nd_w6g9f1g72p80000gn/T/d20200505-3960-17lhqyp --template=

    [!] Error installing BoringSSL-GRPC
    [!] /usr/bin/git clone https://github.com/google/boringssl.git /var/folders/2g/mfqr5f5148nd_w6g9f1g72p80000gn/T/d20200505-3960-17lhqyp --template=

    Cloning into '/var/folders/2g/mfqr5f5148nd_w6g9f1g72p80000gn/T/d20200505-3960-17lhqyp'...
    error: RPC failed; curl 18 transfer closed with outstanding read data remaining
    fatal: the remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed

    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:142:in `rescue in execute_command'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:139:in `execute_command'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downloader/base.rb:154:in `block in executable'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downloader/git.rb:79:in `block in clone'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:173:in `block in ui_sub_action'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:172:in `ui_sub_action'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downloader/git.rb:77:in `clone'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downloader/git.rb:45:in `download!'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downloader/base.rb:82:in `block in download'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:157:in `block in ui_action'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:156:in `ui_action'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downloader/base.rb:80:in `download'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:108:in `download_source'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:75:in `download_request'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache.rb:171:in `download'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache.rb:154:in `block in uncached_pod'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache.rb:181:in `in_tmpdir'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache.rb:153:in `uncached_pod'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache.rb:33:in `download_pod'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:42:in `download'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer/pod_source_installer.rb:117:in `download_source'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer/pod_source_installer.rb:69:in `install!'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:557:in `install_source_of_pod'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:508:in `block (2 levels) in install_pod_sources'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.rb:86:in `titled_section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:507:in `block in install_pod_sources'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:490:in `each'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:490:in `install_pod_sources'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:249:in `block in download_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:248:in `download_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:157:in `install!'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/command/install.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/command.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/bin/pod:55:in `<top (required)>'
    /usr/local/bin/pod:23:in `load'
    /usr/local/bin/pod:23:in `<main>'

Error output from CocoaPods:
↳
         Cloning into '/var/folders/2g/mfqr5f5148nd_w6g9f1g72p80000gn/T/d20200505-3960-17lhqyp'...
         error: RPC failed; curl 18 transfer closed with outstanding read data remaining
         fatal: the remote end hung up unexpectedly
         fatal: early EOF
         fatal: index-pack failed

Error running pod install
Error launching application on iPhone 11.

Error

最佳答案

我尝试了很多方法,但都没有奏效。然后,我重新启动我的机器。它有效。不明白原因!

关于ios - Flutter BoringSSL-GRPC 无法安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61603856/

相关文章:

flutter - 如果应用程序仅在 Release模式下崩溃,如何调试问题所在

flutter - 自定义反序列化 Dart 对象

iphone - 是否有捕获控制台日志的 iPad/电话应用程序(来自 iPhone 配置实用程序)

ios - Swift 3 - NSString.draw(in : rect, withAttributes:) -- 文本未在预期点绘制

ios - Firebase 访问被拒绝?

ios - completionHandler 不能在 Xcode 的单元测试中执行,例如。异步 api - CLGeocoder 的 reverseGeocodeLocation

ios - 我可以撤销我所有的 ios 证书并获得新证书吗?

ios - apns http2 api 在卸载应用程序后不返回状态 410

ios - Xcode 错误 : Outlets cannot be connected to repeating content

flutter - Flutter Text溢出具有边界半径的父容器