See*_*nha 8 xcode ios cocoapods flutter google-cloud-firestore
我几乎尝试了一切。我已经使用VPN来安装,我已经尝试降级cocoapods。我也尝试过不同版本的 cloud_firestore。它在 android 上运行良好,但 firebase 有问题,因为 Firebase Auth 包中也出现了同样的问题\n似乎没有任何效果
\n重现步骤
\n创建一个新项目并添加最新的 cloud_firestore 包\n在 iOS 模拟器上运行而不进行调试\n构建将失败并出现以下错误
\n日志
\n问题从这里开始
\nDownloading 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' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/downloader.rb:108:in download_source'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/downloader.rb:75:in\ndownload_request' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/downloader/cache.rb:171:in download'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/downloader/cache.rb:154:in block in uncached_pod' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/downloader/cache.rb:181:in in_tmpdir'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/downloader/cache.rb:153:in\nuncached_pod' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/downloader/cache.rb:33:in download_pod'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/downloader.rb:42:in `download'\n\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/pod_source_installer.rb:117:in\n`download_source'\n\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/pod_source_installer.rb:69:in\ninstall!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:557:in install_source_of_pod'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:508:in block (2 levels) in install_pod_sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:86:in titled_section'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:507:in block in install_pod_sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:490:in each'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:490:in\ninstall_pod_sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:249:in block in\ndownload_dependencies'\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/installer.rb:248:in download_dependencies'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:157:in install!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command/install.rb:52:in run'\n/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.3/lib/cocoapods/command.rb:52:in run'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/bin/pod:55:in <top (required)>' /usr/local/bin/pod:23:in load'\n/usr/local/bin/pod:23:in `\n\n'\n[ +187 ms] Error output from CocoaPods:\n\xe2\x86\xb3\n[ ] Cloning into '/var/folders/35/7c585fqj58s1xtl93svqy_xh0000gn/T/d20200731-5606-i9uho2'...\nfatal: reference is not a tree: 1c2769383f027befac5b75b6cedd25daf3bf4dcf\n\n [!] Automatically assigning platform `iOS` with version `8.0` on target `Runner` because no\nplatform was\nspecified. Please specify a platform for this target in your Podfile. See\nhttps://guides.cocoapods.org/syntax/podfile.html#platform.\n\n[ +4 ms] Error running pod install\n[ +2 ms] Error launching application on iPhone 11 Pro.\n[ +10 ms] "flutter run" took 17,886ms.\n\n#0 throwToolExit (package:flutter_tools/src/base/common.dart:14:3)\n#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:569:7)\n\n#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:723:18)\n#3 _rootRunUnary (dart:async/zone.dart:1192:38)\n#4 _CustomZone.runUnary (dart:async/zone.dart:1085:19)\n#5 _FutureListener.handleValue (dart:async/future_impl.dart:141:18)\n#6 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)\n#7 Future._propagateToListeners (dart:async/future_impl.dart:711:32)\n#8 Future._completeWithValue (dart:async/future_impl.dart:526:5)\n#9 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)\n#10 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)\n#11 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)\n#12 _rootRunUnary (dart:async/zone.dart:1192:38)\n#13 _CustomZone.runUnary (dart:async/zone.dart:1085:19)\n#14 _FutureListener.handleValue (dart:async/future_impl.dart:141:18)\n#15 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)\n#16 Future._propagateToListeners (dart:async/future_impl.dart:711:32)\n#17 Future._completeWithValue (dart:async/future_impl.dart:526:5)\n#18 Future._asyncComplete. (dart:async/future_impl.dart:556:7)\n#19 _rootRun (dart:async/zone.dart:1184:13)\n#20 _CustomZone.run (dart:async/zone.dart:1077:19)\n#21 _CustomZone.runGuarded (dart:async/zone.dart:979:7)\n#22 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1019:23)\n#23 _microtaskLoop (dart:async/schedule_microtask.dart:43:21)\n#24 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)\n#25 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)\n#26 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)\n\n\n**Flutter Doctor**\n\nseemants-MacBook-Pro:repos seemantsinha$ flutter doctor -v\n[\xe2\x9c\x93] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.4 19E287, locale en-IN)\n\xe2\x80\xa2 Flutter version 1.17.5 at /Users/seemantsinha/Documents/flutter\n\xe2\x80\xa2 Framework revision 8af6b2f (4 weeks ago), 2020-06-30 12:53:55 -0700\n\xe2\x80\xa2 Engine revision ee76268252\n\xe2\x80\xa2 Dart version 2.8.4\n\n[\xe2\x9c\x93] Android toolchain - develop for Android devices (Android SDK version 29.0.1)\n\xe2\x80\xa2 Android SDK at /Users/seemantsinha/Library/Android/sdk\n\xe2\x80\xa2 Platform android-29, build-tools 29.0.1\n\xe2\x80\xa2 ANDROID_HOME = /Users/seemantsinha/Library/Android/sdk\n\xe2\x80\xa2 Java binary at: /Applications/Android\nStudio.app/Contents/jre/jdk/Contents/Home/bin/java\n\xe2\x80\xa2 Java version OpenJDK Runtime Environment (build\n1.8.0_152-release-1343-b01)\n\xe2\x80\xa2 All Android licenses accepted.\n\n[\xe2\x9c\x93] Xcode - develop for iOS and macOS (Xcode 11.4)\n\xe2\x80\xa2 Xcode at /Applications/Xcode.app/Contents/Developer\n\xe2\x80\xa2 Xcode 11.4, Build version 11E146\n\xe2\x80\xa2 CocoaPods version 1.9.3\n\n[\xe2\x9c\x93] Android Studio (version 3.4)\n\xe2\x80\xa2 Android Studio at /Applications/Android Studio.app/Contents\n\xe2\x80\xa2 Flutter plugin version 38.2.1\n\xe2\x80\xa2 Dart plugin version 183.6270\n\xe2\x80\xa2 Java version OpenJDK Runtime Environment (build\n1.8.0_152-release-1343-b01)\n\n[\xe2\x9c\x93] VS Code (version 1.47.3)\n\xe2\x80\xa2 VS Code at /Applications/Visual Studio Code.app/Contents\n\xe2\x80\xa2 Flutter extension version 3.12.2\n\n[\xe2\x9c\x93] Connected device (1 available)\n\xe2\x80\xa2 iPhone 11 Pro \xe2\x80\xa2 BDF8B4F7-B661-49D6-BD82-70D364DEFB26 \xe2\x80\xa2 ios \xe2\x80\xa2\ncom.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator)\n
Run Code Online (Sandbox Code Playgroud)\n
请重试。
我可以在https://github.com/google/boringssl/commit/1c2769383f027befac5b75b6cedd25daf3bf4dcf上看到提交,所以这很可能是一个虚假的网络问题。
归档时间: |
|
查看次数: |
7184 次 |
最近记录: |