0
這是我的豆莢文件的內容。可可豆莢:Pod安裝問題
platform:ios, '5.0'
pod 'AFNetworking', :'~> 1.1.0'
當我嘗試$ pod安裝。我得到以下錯誤。
[!] Pod::Executable clone "https://github.com/AFNetworking/AFNetworking.git" "/Users/administrator/Library/Caches/CocoaPods/GitHub/a7f129229d47b74a225e1e2ed0bc604f35d71ac7" --mirror
Cloning into bare repository '/Users/administrator/Library/Caches/CocoaPods/GitHub/a7f129229d47b74a225e1e2ed0bc604f35d71ac7'...
fatal: unable to access 'https://github.com/AFNetworking/AFNetworking.git/': Failed connect to github.com:443; Operation timed out
這阻礙了我的繼續。什麼是問題?
我覺得podfile應該是'莢 'AFNetworking',「〜> 1.1.0''沒有':'。可你試試嗎? – Divya
即使我嘗試了以下相同的問題。[!] Pod :: Executable克隆「https://github.com/AFNetworking/AFNetworking.git」「/ Users/administrator/Library/Caches/CocoaPods/GitHub/a7f129229d47b74a225e1e2ed0bc604f35d71ac7」 - 鏡像 克隆到裸存儲庫'/ Users/administrator/Library/Caches/CocoaPods/GitHub/a7f129229d47b74a225e1e2ed0bc604f35d71ac7'... 致命:無法訪問'https://github.com/AFNetworking/AFNetworking.git/' :無法連接到github.com:443;操作超時 – Rajesh