更新Mac系统到macOS High Sierra后,pod install 出现下面提示:
-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory
解决方法:
sudo gem update --systemsudo gem install -n /usr/local/bin cocoapods
网友评论