在我的项目中安装 Firebase/Core 时,我的终端出现红色错误。我可以安装其他 pod,例如 SwiftyJSON,但我无法使用 Firebase 来安装!谁能帮帮我?!
[!] Error installing Firebase
[!] /usr/bin/curl -f -L -o /var/folders/g5/fqsn7z4d25s2kc7ycblfgnn40000gn/T/d20180516-4404-1t05mp4/file.tgz https://dl.google.com/dl/cpdc/c84ce83f9f8217ed/Firebase-5.0.1.tar.gz --create-dirs --netrc-optional
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
curl: (22) The requested URL returned error: 404
Best Answer-推荐答案 strong>
您的 podfile 应如下所示
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target ‘yourProjectName’ do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for yourProjectName
pod 'SwiftyJSON’
pod 'Firebase/Core'
end
关于ios - 我无法使用终端安装 firebase pod,我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/50361779/
|