私はXcode 8.3.3を使用しています。'Receive Objects'で 'pod install'がスタックしています
IOSのプッシュ通知用のFirebaseポッドをインストールしようとしていますが、 'pod install'コマンドを通過できません。 「受信オブジェクト」は、ランダムなパーセンテージのように見えます。
これは、端末の出力は次のようになります。
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
私はキャンセルし、再起動しようとしたが、それはどちらか助けていません。私はこのエラーを受け取った約30分待った後
:
[!] 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`.
エラーが示唆するように、私は手動で問題の「マスター」のソースを追加しようとしました。しかし、私は以前と同じ問題を抱えています。また、約20-30分後に同じエラーが発生します。
[EDIT] これは私の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
でインストールしてください、あなたの 'Podfile'を表示することができますか?最初の行に 'source 'https:// github.com/CocoaPods/Specs.git''がありますか?また、場合によっては、ブラウザ経由でギブスにアクセスするときにインターネット接続が安定していますか? – Losiowaty
https://stackoverflow.com/questions/26197171/git-clone-repository-error-rpc-failed-result-56-http-code-200 –
@Losiowaty質問に追加しました。ポッドファイルが手動アプローチにどのように影響するかはわかりませんが? – Medwe