美文网首页
CocoaPods doesn't work after

CocoaPods doesn't work after

作者: 穷得瑟M | 来源:发表于2016-03-31 14:38 被阅读26次

今天使用cocaPods出现" The command path could not be resolved",由于Mac OS X EI Capitain 将pods的路径改了,具体操作:

1. sudo gem uninstall cocoapods

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

3. sudo chmod +rx /usr/local/bin/

出现错误:

Error fetching http://ruby.taobao.org/:

bad response Not Found 404 (http://ruby.taobao.org/specs.4.8.gz)

移除

gem sources --removehttp://ruby.taobao.org/

新增

gem sources -a https://ruby.taobao.org/

相关文章

网友评论

      本文标题:CocoaPods doesn't work after

      本文链接:https://www.haomeiwen.com/subject/lkbelttx.html