安装flatc命令前,先安装brew、cmake: Mac安装Homebrew的正确姿势 链接macOS安装CMake 链接安装flatc 链接 git clone https://github.com/google/flatbuffers.git