pod install出现下面提示
/usr/local/bin/pod: bad interpreter: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: no such file or directory
解决方法:
输入
sudo gem install -n /usr/local/bin cocoapods
继续出现错误
Failed to extract git version from ' git --version ' xcrun: error: invalid active developer path
解决方法:到 Git 官网下载 Git安装即可:
https://git-scm.com/download/mac
WeChat3364806dfeede3a6c43a4091792f63fe.png











网友评论