zsh: /usr/local/bin/pod: bad interpreter: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: no such file or directory

系统升级为 macOS Catalina 发现 CocoaPods 不管用了。

解决方法:

打开 iTerm2

sudo gem update --system

输入电脑密码,然后

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

搞定

猜你喜欢

转载自www.cnblogs.com/BK-12345/p/11645856.html