[英]Cannot install Firebase using cocoapods. It says “Unable to get local issuer certificate”
Any comments or suggestions? 有什么意见或建议吗? My pod file looks like this:
我的pod文件看起来像这样:
Uncomment this line to define a global platform for your project
platform :ios, '8.0'
Uncomment this line if you're using Swift
use_frameworks!
target 'ScheduleBuilder' do
pod 'SwiftyJSON', '~> 2.3'
pod 'Firebase', '>= 2.5.0'
end
The solution was to remove and install curl again. 解决的办法是再次去除并安装卷曲。
If you're using brew, then it's just: 如果您使用的是brew,那就只是:
brew uninstall curl brew install curl brew link curl --force 酿造卸载curl酿造安装curl酿造链接curl --force
Or 要么
Finally, You can solve it with this on Project Folder: 最后,您可以在Project Folder上解决此问题:
echo insecure >> ~/.curlrc 回声不安全>>〜/ .curlrc
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.