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