使用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 add
或git 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)