一、Flutter的安装与使用
参考:http://www.cocoachina.com/ios/20190314/26559.html
1、flutter doctor
用这个命令检测有报错:
解决方案:
跟据命令提示解决
2、brew: command not found
解决方案:
在终端执行:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
来安装Homebrew,详情看https://blog.csdn.net/weixin_40363627/article/details/80402028
3、Android Studio连接iPhone运行报错:
Cannot find "xcodebuild". Xcode 9.0 or greater is required to develop for iOS.
解决方案:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
二、Flutter教程
https://flutterchina.club/tutorials/