本来一直是好好的,直到我装了两个 Xcode ,然后又把另一个 Xcode 给删了,结果 pod install 的时候就出错了,下面分享一下解决方法。
执行 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`.