最近更新pod 第三方库的时候出现:bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory
原因是Mac升级到high Sierra时,没有及时更新cocoapods
解决方法:终端中执行$ sudo gem update --system
$ sudo gem install cocoapods -n/usr/local/bin
网友评论