ios - 我无法使用终端安装 firebase pod
<p><p>在我的项目中安装 Firebase/Core 时,我的终端出现红色错误。我可以安装其他 pod,例如 SwiftyJSON,但我无法使用 Firebase 来安装!谁能帮帮我?!</p>
<pre><code>[!] 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 % XferdAverage Speed Time Time TimeCurrent
DloadUpload Total Spent LeftSpeed
0 0 0 0 0 0 0 0 --:--:--0:00:03 --:--:-- 0
curl: (22) The requested URL returned error: 404
</code></pre></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>您的 podfile 应如下所示</p>
<pre><code># 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
</code></pre></p>
<p style="font-size: 20px;">关于ios - 我无法使用终端安装 firebase pod,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/50361779/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/50361779/
</a>
</p>
页:
[1]