美文网首页
CocoaPods解决Unable to add a sourc

CocoaPods解决Unable to add a sourc

作者: ioido | 来源:发表于2016-10-11 09:38 被阅读0次

    原文地址:https://my.oschina.net/jjtm/blog/492083

    pod update出现:

    [!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master-1`.

    You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.

    这样的提示。

    解决办法:由于装了多个Xcode,在终端输入:sudo xcode-select -switch /Applications/Xcode8.0.app

    相关文章

      网友评论

          本文标题:CocoaPods解决Unable to add a sourc

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