简体   繁体   中英

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

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

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM