首页 > 其他分享 >flutter Warning: CocoaPods is installed but broken. Skipping pod install. You appear to have Cocoa

flutter Warning: CocoaPods is installed but broken. Skipping pod install. You appear to have Cocoa

时间:2024-06-21 14:21:19浏览次数:27  
标签:shell appear cc Skipping ERROR pod CocoaPods flutter

flutter Warning: CocoaPods is installed but broken. Skipping pod install. You appear to have CocoaPods ins
确保你已经安装了 CocoaPods 并可以正常使用:

1.flutter clean 
2.flutter pub get
3.cd ios
4.pod install
5.退出vscode,并重新打开
6.再次运行项目

运行后如果提示以下错误:

[ERROR:flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalImpeller.mm(42)] Using the Impeller rendering backend.
[ERROR:flutter/shell/common/shell.cc(117)] Dart Error: Can't load Kernel binary: Invalid kernel binary format version.
[ERROR:flutter/runtime/dart_isolate.cc(144)] Could not prepare isolate.
[ERROR:flutter/runtime/runtime_controller.cc(462)] Could not create root isolate.
[ERROR:flutter/shell/common/shell.cc(669)] Could not launch engine with configuration.
Application finished.
1.删除 flutter sdk目录下 bin/目录下的cache文件夹
2.退出vscode,并重新打开
3.再次运行项目,会自动下载缓存文件,下载完成后就可以成功运行了。

标签:shell,appear,cc,Skipping,ERROR,pod,CocoaPods,flutter
From: https://www.cnblogs.com/huangczh/p/18260430

相关文章

  • Unit 6 - Disappearing Through The Skylight
    Unit6-DisappearingThroughTheSkylightDisappearingThroughTheSkylightOsborneBennettHardisonJr.Scienceiscommittedtotheuniversal.Asignofthisisthatthemoresuccessfulasciencebecomes,thebroadertheagreementaboutitsbasicconcept......
  • 解决报错 cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you p
      训练模型出现报错cuDNNerror: CUDNN_STATUS_NOT_SUPPORTED.Thiserrormayappearifyoupassedinanon-contiguousinput.1.尝试了对可能的tensor添加.contiguous()函数,不能解决问题,排除。2.尝试将batch_size=12减小到10,不再报错,但实验要求不能减小batch_s......
  • m1安装cocoapods
    m1安装cocoapodshttp://www.taodudu.cc/news/show-5551017.html?action=onClick podsearchAFNetworking[!]Unabletofindapodwithname,author,summary,ordescriptionmatching`AFNetworking`podrepo返回也是0repo解决方法使用国内清华cocoapod源手动下载......
  • Skipping invalid relocation target,
      [55.732900]module:x86/modules:Skippinginvalidrelocationtarget,existingvalueisnonzerofortype1,loc0000000095d22a08,valffffffffc07aa525root@ubuntux86:#uname-aLinuxubuntux865.13.0-39-generic#44~20.04.1-UbuntuSMPThuMar2416:......
  • Games101-8 material and appearance
    漫反射的prdfglossymaterial折射BTDF全反射的情况:$n_i$远大于$n_{t}$也就是说入射密度大。因此水底看空气---会发生全反射情况。fresnelreflectionterm菲涅尔项绝缘体见到那说就是如果如何入射光和法线几乎平行---则大量会被反射。导体......
  • LeetCode 1287. Element Appearing More Than 25% In Sorted Array
    原题链接在这里:https://leetcode.com/problems/element-appearing-more-than-25-in-sorted-array/description/题目:Givenanintegerarray sorted innon-decreasingorder,thereisexactlyoneintegerinthearraythatoccursmorethan25%ofthetime,returnthat......
  • jmap使用报错Doesn't appear to be a HotSpot VM (could not find symbol "gHotSpotVM
    报错场景问题原因服务器上装了jdk,按理来说jmap是自带了的,可以直接使用,根据情况来看是装了jmap但是无法正常使用,推测是版本的问题导致解决方式指定jdk自带的jmap工具1.查看当前java的环境变量echo$JAVA_HOME2.配置jdk自带工具的环境变量exportPATH=$JAVA_HOME/bin:$P......
  • 安装 cocoapods
    安装cocoapodssudogemsources--removehttps://rubygems.org/sudogemsources-ahttps://gems.ruby-china.com/gemsources-lsudogeminstall-n/usr/local/bincocoapods‍执行sudogeminstall-n/usr/local/bincocoapods​时遇到的错误:ERROR:Errori......
  • Materials and Appearances
    Matrerial==BRDF材质就是说这个东西我看起来是什么样子。漫反射材质(往各个方向反射)漫反射材质定义了一个方向过来的光线(这也就是irradiance)到各个方向的irradiance都是相等的。当\(L_i\)=\(L_o\)的时候,说明完全反射出去了,但是也有发生一些吸收的时候,这个时候存在albedo来控......
  • pip 安装包时提示 "WARNING: Skipping xxx due to invalid metadata entry 'name'"
    我最近在使用pip安装包的时候经常遇到如下警告:WARNING:Skipping/opt/homebrew/lib/python3.11/site-packages/numpy-1.26.3.dist-infoduetoinvalidmetadataentry'name'WARNING:Skipping/opt/homebrew/lib/python3.11/site-packages/protobuf-4.25.2-py3.11.egg-info......