This terminal won't let me run or install cocoa pods because I am on MacOS Catalina Beta?

六月ゝ 毕业季﹏ 提交于 2019-12-03 05:23:56
sudo gem install -n /usr/local/bin cocoapods 

worked for me

Use

brew install cocoapods --build-from-source

The Mojave bottle is linked to a different version of Ruby. The --build-from-source option will link the cocoapods gem to the Catalina version of Ruby.

I fixed it by installing cocoa pod again.

sudo gem install cocoapods -n /usr/local/bin

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!