如图 刚安装好后Flutter version 获取不到为 0.0.0 解决办法: 命令 sudo xcode-select --switch 将xcode.app拖进来 执行 然后使用flutter doctor 查看