当我在我的系统中安装可可豆荚时,出现以下错误。安装可可豆荚时出错
错误:
“无法添加名为master-1
网址https://github.com/CocoaPods/Specs.git
源,您可以尝试在~/.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
你可以包含你的podfile吗? – dpassage
尝试卸载荚并安装最新的荚,这将帮助你在这种情况下。 –