please install libyaml and reinstall your ruby 发表于 2022-06-15 | 分类于 iOS 先安装ruby 1brew install ruby 设置成全局的 1echo 'export PATH="/opt/homebrew/opt/ruby/bin:$PATH"' >> ~/.zshrc 安装cocoapods 1sudo gem install cocoapods