首页 > 解决方案 > pod 'Firebase' 未安装

问题描述

我正在尝试使用以下方法安装“Firebase”吊舱:

吊舱“火力基地”

但是当我运行“pod install”命令时,出现以下错误:

Alis-MacBook-Pro:Trydan-E-iOS aliehsan$ pod install
Analyzing dependencies
Downloading dependencies
Using Alamofire (4.8.2)
Using ESPullToRefresh (2.7)
Installing Firebase (6.2.0)

[!] Error installing Firebase
[!] /Users/aliehsan/anaconda3/bin/curl -f -L -o /var/folders/8n/38bpdxkn4cq7s75vc0z9_5km0000gn/T/d20190612-93280-qctgon/file.tgz https://dl.google.com/dl/cpdc/c7dba84b10c22663/Firebase-6.2.0.tar.gz --create-dirs --netrc-optional --retry 2

dyld: Library not loaded: @rpath/libssl.1.0.0.dylib
  Referenced from: /Users/aliehsan/anaconda3/lib/libssh2.1.dylib
  Reason: image not found


[!] Automatically assigning platform `ios` with version `12.2` on target `Trydan-E-iOS` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

我不知道我做错了什么?请指导。贾扎克阿拉。

标签: iosfirebasecocoapods

解决方案


这不是 Firebase 或 CocoaPods 错误。请注意您的计算机如何尝试curl从您的anaconda3文件夹而不是usr/bin. 您可能只需要更改PATH顺序


推荐阅读