小编See*_*nha的帖子

无法安装 cloud_firestore 所需的 BoringSSL-GRPC (0.0.7)

我几乎尝试了一切。我已经使用VPN来安装,我已经尝试降级cocoapods。我也尝试过不同版本的 cloud_firestore。它在 android 上运行良好,但 firebase 有问题,因为 Firebase Auth 包中也出现了同样的问题\n似乎没有任何效果

\n

重现步骤

\n

创建一个新项目并添加最新的 cloud_firestore 包\n在 iOS 模拟器上运行而不进行调试\n构建将失败并出现以下错误

\n

日志

\n

问题从这里开始

\n
Downloading dependencies\n\n           -> Installing BoringSSL-GRPC (0.0.7)\n            > Git download\n            > Git download\n                $ /usr/bin/git clone https://github.com/google/boringssl.git\n                /var/folders/35/7c585fqj58s1xtl93svqy_xh0000gn/T/d20200731-5606-i9uho2 --template=\n              $ /usr/bin/git -C /var/folders/35/7c585fqj58s1xtl93svqy_xh0000gn/T/d20200731-5606-i9uho2\ncheckout\n--quiet 1c2769383f027befac5b75b6cedd25daf3bf4dcf\n\n           [!] Error installing BoringSSL-GRPC\n           [!] /usr/bin/git -C /var/folders/35/7c585fqj58s1xtl93svqy_xh0000gn/T/d20200731-5606-i9uho2\ncheckout\n--quiet 1c2769383f027befac5b75b6cedd25daf3bf4dcf\n\n           fatal: reference is not a tree: 1c2769383f027befac5b75b6cedd25daf3bf4dcf\n       \n           /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/downloader.rb:142:in `rescue in\n           execute_command'\n           /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/downloader.rb:139:in\n`execute_command'\n\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.4.0/lib/cocoapods-downloader/base.rb:166:in `block\nin executable'\n\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.4.0/lib/cocoapods-downloader/git.rb:153:in\n`target_git'\n\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.4.0/lib/cocoapods-downloader/git.rb:148:in\ncheckout_commit' /Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.4.0/lib/cocoapods-downloader/git.rb:67:in download!'\n\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.4.0/lib/cocoapods-downloader/base.rb:82:in block in download' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/downloader.rb:157:in block in\nui_action'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in section' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/downloader.rb:156:in ui_action'\n\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.4.0/lib/cocoapods-downloader/base.rb:80:in\ndownload' …
Run Code Online (Sandbox Code Playgroud)

xcode ios cocoapods flutter google-cloud-firestore

8
推荐指数
2
解决办法
7184
查看次数

标签 统计

cocoapods ×1

flutter ×1

google-cloud-firestore ×1

ios ×1

xcode ×1