在我的系统中安装可可豆荚时,出现以下错误。
错误 :
“[!] 无法添加https://github.com/CocoaPods/Specs.git
名为url 的源master-1
。您可以尝试手动添加它~/.cocoapods/repos
或通过pod repo add
。”
豆荚文件:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'Demo' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for Demo
target 'DemoTests' do
inherit! :search_paths
# Pods for testing
end
target 'DemoUITests' do
inherit! :search_paths
# Pods for testing
end
pod 'AZSClient'
pod 'CardIO'
pod 'Google/Analytics'
pod 'OpenTok'
pod 'THCalendarDatePicker', '~> 1.2.6'
end