美文网首页
[!] Unable to add a source with

[!] Unable to add a source with

作者: 超_iOS | 来源:发表于2017-06-12 11:07 被阅读49次

pod install 报错
[!] 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/Xcode.app
sudo xcode-select -switch 后边加xcode地址
然后再执行pod install.即可.

相关文章

网友评论

      本文标题:[!] Unable to add a source with

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