flutter安装开发环境-问题记录

5次阅读

共计 583 个字符,预计需要花费 2 分钟才能阅读完成。

按照文档快速开始 https://flutterchina.club/set…
问题:brew install –HEAD libimobiledevice
配置 Flutter 中的 ios 环境时,执行 brew install –HEAD libimobiledevice 时,报异常
`^CError: Calling needs :cxx11 is disabled! There is no replacement.Please report this to the homebrew/core tap: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cmake.rb:23 `

卸载 brew,重新安装;
1、卸载 brew,
执行命令:/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent…)”
2、安装 brew,
执行命令:/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent…)” 
之后重新执行,brew install –HEAD libimobiledevice,就没有错误了;
原因是因为升级 mac 系统导致 brew 部分功能不能使用的
解决方案出自 https://blog.csdn.net/LXFX110…

正文完
 0