當我在我的系統中安裝可可豆莢時,出現以下錯誤。安裝可可豆莢時出錯
錯誤:
「無法添加名爲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
嘗試卸載莢並安裝最新的莢,這將幫助你在這種情況下。 –