Cannot install Firebase using cocoapods. It says “Unable to get local issuer certificate”

女生的网名这么多〃 提交于 2019-12-25 07:54:22

问题


Any comments or suggestions? My pod file looks like this:

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


回答1:


The solution was to remove and install curl again.

If you're using brew, then it's just:

brew uninstall curl brew install curl brew link curl --force

Or

Finally, You can solve it with this on Project Folder:

echo insecure >> ~/.curlrc



来源:https://stackoverflow.com/questions/35692158/cannot-install-firebase-using-cocoapods-it-says-unable-to-get-local-issuer-cer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!