一、Flutter的安裝與使用
參考:http://www.cocoachina.com/ios/20190314/26559.html
1、flutter doctor
用這個命令檢測有報錯:
解決方案:
跟據(jù)命令提示解決
2礁蔗、brew: command not found
解決方案:
在終端執(zhí)行:/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/