[!] Unable to add a source with
2020-02-21 本文已影响0人
anny_4243
报错:
[!] Unable to add a source with url https://github.com/CocoaPods/Specs.git
named cocoapods
.
You can try adding it manually in /Users/admin/.cocoapods/repos
or via pod repo add
.
解决方法:
删掉原来的pod文件夹,在命令行执行pod install