CDN:trunk URL couldn’t be downloaded:https://raw.githubusercontent.com/Cocoapods/Specs/master/Specs/a/7/5/AFNetworking/3.1.0/AFNetworking.podspec.json Respone:Couldn’t connect to server
遇到这样的问题解决方案有二:
一、在终端执行 sudo vim /etc/hosts 最后一行添加 199.232.4.133 raw.githubusercontent.com
二、在项目的pod文件中添加
##source 'https://cdn.cocoapods.org'
sources 'https://github.com/CocoaPods/Specs.git'
二者选其一就好。