Я не могу установить модуль Firebase с терминалом - PullRequest
0 голосов
/ 16 мая 2018

В моем терминале возникает красная ошибка при установке Firebase / Core в моем проекте.Я могу установить другие модули, такие как 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 

1 Ответ

0 голосов
/ 16 мая 2018

Ваш подфайл должен выглядеть следующим образом

# 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
...