Flutter项目在Xcode上运行的时候出现了 diff: /…/Podfile.lock: No such file or directory

解决方案

方案一:重新pod install

方案二:删除workspace、podfile.lock、Pods/、~/Library/Developer/Xcode/DerivedData

方案三:

1、运行sudo gem install cocoapods-deintegrate安装快速解除项目cocopods依赖的库

2、安装成功后,cd到你项目的更目录运行pod deintegrate解除项目cocopods依赖

3、运行pod install,重新安装cocopods

方法一在执行pod install的时候会出现
[!] No `Podfile’ found in the project directory.
下面是解决方法

1.cd ios/

2.vim Podfile(创建Podfile)且输入内容

source’https://github.com/CocoaPods/Specs.git’
platform:ios,‘8.0’
inhibit_all_warnings!
target ‘testDemo’ do
pod ‘AFNetworking’, ‘~> 2.6.0’
end
3.按esc

4.再输入:wq(走完第三步后无需找位置输入:wq,输入就行)

5.pod install

Flutter diff: /../Podfile.lock: No such file or directory AndroidStudio上的解决相关推荐

  1. 如何解决diff: /../Podfile.lock: No such file or directory 的问题

    1.问题描述 之前碰到过此类问题,原因是之前用了测试版本的pod,然后回归正式版本,导致找不到pod文件 diff: /../Podfile.lock: No such file or directo ...

  2. 解决 项目cocoapods diff: /../Podfile.lock: No such file or directory

    解决cocoapods diff: /../Podfile.lock: No such file or directory 最近把以前代码放到新电脑上运行,在执行pod update之后build工程 ...

  3. Linux执行.sh文件,提示No such file or directory的问题的解决方法

    Linux执行.sh文件,提示No such file or directory的问题的解决方法 在window平台下,写好shell脚本文件,迁移到linux平台,赋过可执行权限,执行该sh文件, ...

  4. [Errno 2] No such file or directory:路径错误 奇怪解决

    ** [Errno 2] No such file or directory:路径错误 奇怪解决 ** 问题描述: 想听些新歌,爬虫运行不起来了 直接报[Errno 2] No such file o ...

  5. Python 相对路径问题:“No such file or directory“,原因及解决方法

    如果你取相对路径不是在主文件里,可能就会有相对路径问题:"No such file or directory". 因为 python 的相对路径,相对的都是主文件. 如下目录结构: ...

  6. python包编译过程中出现: /usr/local/cuda-9.0/nvcc: No such file or directory问题的简单解决办法

    在安装torch.sparse包的过程中,出现/usr/local/cuda-9.0/nvcc: No such file or directory的错误,而检查nvcc是否已经安装的时候,这些在安装 ...

  7. 关于 cannot open source input file “ ... “ No such file or directory 相关报错解决方式

    首先还是要看报错的信息内容.比如:" no source":Error: #5: cannot open source input file " ..\..\..\Uti ...

  8. 报错The sandbox is not in sync with the Podfile.lock

    clone下来的项目,运行的时候报错 1 diff: /../Podfile.lock: No such file or directory 2 diff: Manifest.lock: No suc ...

  9. 关于iOS 'The sandbox is not sync with the Podfile.lock'问题解决方法

    问题描述: github下载的Demo,很多时候使用到CocoaPods,有的时候因为依赖关系或者版本问题不能编译运行.出现例如The sandbox is not sync with the Pod ...

  10. python3 pyinstaller 打包后执行文件运行错误 No such file or directory 和 Cannot load native module 解决方法

    目录 实例1.No such file or directory 错误  --add-binary 参数解决 实例2.Cannot load native module 错误 强制引入解决 总结 使用 ...

最新文章

  1. 程序员眼中的电脑和空调 | 每日趣闻
  2. 通过jquery获取td下的input标签的值,并且改变onclick的参数值
  3. python类型-Python基本内置数据类型有哪些?
  4. MyEclipse 2017汉化版安装教程
  5. 关于WebRTC发展的担忧和思考
  6. PCM设备能在公网使用吗?
  7. 快速入门 Jupyter notebook
  8. [转载] Scala继承与Java的区别
  9. linux 无线命令
  10. 基于vue+node的校园交流平台
  11. 爬楼梯算法-java(递归与非递归)
  12. 6个工具让网页抓取变得轻而易举
  13. 图书馆软件测试文档实例,图书馆管理系统测试用例
  14. 实验记录 | 8/8 阶段性结果整理(二)
  15. 计算机电源 自动关机,电脑自动关机是什么原因,小编教你怎么解决电脑自动关机...
  16. 基于SpringBoot+Vue开发的一个知识社区分享平台
  17. 立创eda专业版学习笔记(3)(隐藏部分飞线)
  18. EPICS应用程序开发2 -- EPICS概要
  19. 软件开发,如何快速有效缩短项目周期
  20. CEF 、chromium源码下载前相关代理配置

热门文章

  1. 上位机软件需求说明书100元
  2. springboot集成微信app支付
  3. hacker rank bash
  4. No module named ‘lightgbm‘
  5. firedrake求解NS方程
  6. APP性能测试之monkey
  7. algs4.jar----算法第四版书本官方jar包下载
  8. html浮窗音乐播放器插件,墨涩网 - WordPress浮窗音乐播放器Floating Window Music Player V3.2.6——墨涩网...
  9. node.js入门教程(B站黑马程序员)
  10. 笔记本显卡未连接计算机,电脑提示当前未使用连接到NVIDIA GPU的显示器如何解决...