可以参考以下文章,非常详细
https://www.jianshu.com/p/b3d15c9bbf2b
问题解决:
1、
[!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master-1`.
参考如下地址
https://blog.csdn.net/qq_15602525/article/details/78355479
2、
to setup the master specs repo, please run `pod setup
参考如下文章