项目根目录中执行以下命令:sudo gem install ffi然后进入到 Podfile 文件所在目录(也就是项目下的 ios 目录),执行以下命令:arch -x86_64 pod install 或者是 pod install Last Modified: October 13, 2022