
1.fatal: unable to access 'https://github.com/CocoaPods/pod-template.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
去除代理
git config --global http.proxy
git config --global --unset http.proxy
2.Targeting iOS 11.0 but still getting warnings: is only available on iOS 10.0 or newer
在Podfile底部加入
# temporary fix for this issue to suppress a ton of warnings
# https://github.com/CocoaPods/CocoaPods/issues/7314
post_install do |pi|
pi.pods_project.targets.each do |t|
t.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end
##### 3.Cocoapods安装出现ERROR: Failed to build gem native extension.
解决办法
修改这里

网友评论