Error trying to install Firebase with pod regarding nanopb

I am trying to install Firebase in my quick application with Cocoapod as follows:

pod 'Firebase/Core' pod 'Firebase/Messaging' 

But I got an error when I process the installation of pod:

 [!] Error installing nanopb [!] /usr/bin/curl -f -L -o /var/folders/82/qk0yjdtx5xl0hnzsk2s2h30h0000gn/T/d20170722-19429-tm6t4q/file.tgz http://koti.kapsi.fi/~jpa/nanopb/download/nanopb-0.3.8.tar.gz --create-dirs --netrc-optional % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 330 100 330 0 0 1941 0 --:--:-- --:--:-- --:--:-- 1952 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 503 Service Unavailable 

Just server down? or am I missing something Is there any other way to do without nanopb?

+5
source share
4 answers

Finally i will add

 pod 'Firebase', '4.0.3' 

this solves the problem

+1
source

Yes! therefore, if you try again later, it should work.

Since this is a public repo, an address like https://github.com/CocoaPods/Specs.git .

enter image description here

+2
source

According to https://github.com/CocoaPods/Specs/blob/master/Specs/8/b/d/FirebaseCore/4.0.4/FirebaseCore.podspec.json , nanopb is added depending on FirebaseCore 4.0.4.

But the nanopb server is now down. ( http://jpa.kapsi.fi/nanopb/download/nanopb-0.3.8.tar.gz ).

So, you must specify the version of Firebase / Core version 4.0.3.

 pod 'Firebase/Core', '4.0.3' 
+1
source

I know this sounds like me too, but I ran into this problem and it took half a day for the site to return to complete the installation. If you run into this, just point your browser to jap.kapsi.fi, and if it shows a 503 error, try this later. This worked for me, as soon as I saw that the site was backed up, I installed pod, and it succeeded.

0
source

Source: https://habr.com/ru/post/1270096/


All Articles