I am using Xcode 8.3.3.
I'm trying to install the firebase pods for Push Notifications for IOS and can't get past the 'pod install' command. 'Receiving objects' is getting stuck at - what seem like - random percentages.
This is what the terminal output looks like:
Mac-Admin:MKR Medwe$ pod install --verbose
Preparing
Setting up CocoaPods master repo
Cloning spec repo `master` from `https://github.com/CocoaPods/Specs.git` (branch `master`)
$ /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --progress
Cloning into 'master'...
remote: Counting objects: 1447009, done.
remote: Compressing objects: 100% (315/315), done.
Receiving objects: 12% (183211/1447009), 36.09 MiB | 2.11 MiB/s
I've tried cancelling and restarting but that doesn't help either.
After waiting for about 30min I received this error:
[!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master`.
(/usr/bin/git clone https://github.com/CocoaPods/Specs.git master --progress
Cloning into 'master'...
remote: Counting objects: 1447009, done.
remote: Compressing objects: 100% (315/315), done.
error: RPC failed; curl 56 SSLRead() return error -9806.11 MiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
)
You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.
As the error suggests, I've tried adding the problematic 'master' source manually. But I'm stuck with the same problem as before. Also getting the same error after about 20-30min.
[EDIT] This is my Podfile:
platform :ios, '10.3'
target 'MKR' do
use_frameworks!
pod 'Firebase/Core'
pod 'Firebase/Messaging'
target 'MKRTests' do
inherit! :search_paths
end
target 'MKRUITests' do
inherit! :search_paths
end
end