flutter doctor检测环境,出现CocoaPods installed but not working

编程入门 行业动态 更新时间:2024-10-13 06:19:40

flutter doctor检测<a href=https://www.elefans.com/category/jswz/34/1771403.html style=环境,出现CocoaPods installed but not working"/>

flutter doctor检测环境,出现CocoaPods installed but not working

1. 安装flutter, 地址: 安装和环境配置 - Flutter 中文文档 - Flutter 中文开发者网站 - Flutter
2. 安装成功后,通过flutter doctor检测环境。以mac为例,出现了CocoaPods installed but not working 错误提示时,以下为解决方案:

2.1   rvm install ruby-3.1.0, 可能出现依赖错误问题,使用如何指令即可:

        

        rvm reinstall ruby-3.1.0 --with-openssl-dir=/usr/local/opt/openssl;

        可以安装ruby-3.2.0,不过遇到了activesupport=7.1.1 版本不能卸载;

2.2   gem list查询安装的activesupport版本号,当版本号大于7.0.8, 会遇到如下错误:

       

2.3   sudo gem uninstall activesupport;

2.4   sudo gem install activesupport -v 7.0.8

2.5 gem list | grep activesupport  查看activesupport版本信息   

3.  flutter doctor 检测时出现如下表示正常:

更多推荐

flutter doctor检测环境,出现CocoaPods installed but not working

本文发布于:2023-12-06 18:53:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1668479.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:环境   doctor   flutter   working   installed

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!