I'm trying to install Firebase in my swift application with Cocoapod like this :
pod 'Firebase/Core'
pod 'Firebase/Messaging'
But got an error when i'm processing the pod install :
[!] 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 the server down ? or am I missing something Is there an other way to do without nanopb ?
According to https://github.com/CocoaPods/Specs/blob/master/Specs/8/b/d/FirebaseCore/4.0.4/FirebaseCore.podspec.json, nanopb is added in dependencies on FirebaseCore 4.0.4.
But nanopb server is not working now.(http://jpa.kapsi.fi/nanopb/download/nanopb-0.3.8.tar.gz).
So you should specify Firebase/Core version to 4.0.3.
pod 'Firebase/Core', '4.0.3'
I finally add
pod 'Firebase', '4.0.3'
this resolve the problem
yes! so if you retry later, it should work.
Since it is a public repo, an address like https://github.com/CocoaPods/Specs.git.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With