简体   繁体   English

无法使用cocoapods安装Firebase。 它说“无法获得本地发行者证书”

[英]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

当我尝试使用cocoapods安装Firebase时出现错误。

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.

相关问题 APNS错误:20无法获取本地颁发者证书(使用终端) - APNS error:20 Unable To Get Local Issuer Certificate (using Terminal) iOS cURL:无法获取本地发行者证书 - iOS cURL: unable to get local issuer certificate 无法通过Cocoapods安装Parse软件包。 缺少图书馆 - Unable to install Parse package via Cocoapods. Missing library 无法设置 cocoapods。Cocoapods 设置问题 - unable to setup cocoapods. Cocoapods setup problem iOS MDM:代码:20(无法获取本地发行者证书) - iOS MDM: Code:20 (Unable to get local issuer certificate) 验证返回码:20(无法获取本地发行者证书) - Verify return code: 20 (unable to get local issuer certificate) 什么是条纹cocoapods。 如何安装? - What are stripe cocoapods. How do i install them? Node.js + APN:在本地,一切正常,但在云主机上启动时出现“端点错误:无法获取本地颁发者证书” - Node.js + APN: Locally, everything works but I get “Endpoint error: unable to get local issuer certificate” when launching on cloud host APNS,当程序在 Mac 上运行时,如何修复树莓派上的“无法获取本地颁发者证书”错误? - APNS, how do I fix “unable to get local issuer certificate” error on raspberry Pi when program works on Mac? 无法使用旧版Cocoapods版本安装Pod - Unable to install pods using a legacy Cocoapods version
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM