Macbook 升级系统后,Cocoapods报错解决

报错如下:

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

解决:
重新安装cocoapods即可:

sudo gem install cocoapods

你可能感兴趣的:(Macbook 升级系统后,Cocoapods报错解决)