git clone https运行错误

时间:2016-10-12 12:02:49

标签: git cocoapods

使用Cloning spec repo `master` from `https://github.com/CocoaPods/Specs.git` (branch `master`) $ /usr/local/bin/git clone https://github.com/CocoaPods/Specs.git master Cloning into 'master'... fatal: remote error: %s is not a valid repository name Email support@github.com for help [!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master`. (/usr/local/bin/git clone https://github.com/CocoaPods/Specs.git master Cloning into 'master'... fatal: remote error: %s is not a valid repository name Email support@github.com for help )

时出错

错误信息

~/.cocoapods/repos

您可以尝试在pod repo addgit clone git@github.com:CocoaPods/CocoaPods.git手动添加。

但是当我使用Podfile时,它是成功的。我该如何解决这个问题?

source 'https://github.com/CocoaPods/Specs.git' platform :ios, '9.0' target 'ApiTest' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! pod 'SnapKit', '~> 3.0.0' pod 'Alamofire', '~> 4.0' pod 'Kingfisher','~> 3.0.1' # Pods for ApiTest target 'ApiTestTests' do inherit! :search_paths # Pods for testing end target 'ApiTestUITests' do inherit! :search_paths # Pods for testing end end 就在这里

myLimitedRq: function (u, a, cb1, cb2)

0 个答案:

没有答案