【发布时间】:2019-06-11 19:53:53
【问题描述】:
我正在尝试使用以下方式安装“Firebase”吊舱:
pod '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`.
我不知道我做错了什么?请指导。 JazakAllah。
【问题讨论】:
-
最后一行非常不言自明:
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