[Cocompappods]Cocompappods一般的な問題集を使用しています.

2475 ワード

1.error:RPC failed;curl 56 Libree SSL SSL_read:SSL_ERROR_SYSSCALL,errno 54
これはpod installを使ったり、pod updateを使ったりする時によくあるエラーです.詳細は以下の通りです.
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

これはネット上の原因で、GitHub-pods倉庫を訪問した時に発生したエラーです.コマンドを実行してみて、運が良ければ、何回か後に成功します.今は特に良い解決方法がありません.あるものはネットエージェントを使って徹底的に解決できると言っています.
2.CocoaPods was not able to udate the cocoapods repo
これはまた、pod installを使用したり、pod updateを使用したりした際に発生したエラーであり、詳細は以下の通りである.
[!] CocoaPods was not able to update the `cocoapods` repo. If this is an unexpected issue and persists you can inspect it running `pod repo update --verbose`
ヒントに基づき、pod repo update --verboseコマンドを使って試行すれば解決できます.
3.Showng Recent Issues Unable to load contens of file list:'/Users/username/Desktop/app/Pods/Target Support Files/Pods-projectname/Pods-project-project name-resource-Deburge-input-filext
エラーの詳細は以下の通りです.
Showing Recent Issues
Unable to load contents of file list: '/Users/username/Desktop/Workspace/app/Pods/Target Support Files/Pods-ProjectName/Pods-ProjectName-resources-Debug-input-files.xcfilelist'

Unable to load contents of file list: '/Users/username/Desktop/Workspace/app/Pods/Target Support Files/Pods-ProjectName/Pods-ProjectName-resources-Debug-output-files.xcfilelist'

Unable to load contents of file list: '/Users/username/Desktop/Workspace/app/Pods/Target Support Files/Pods-ProjectName/Pods-ProjectName-frameworks-Debug-input-files.xcfilelist'

Unable to load contents of file list: '/Users/username/Desktop/Workspace/app/Pods/Target Support Files/Pods-ProjectName/Pods-ProjectName-frameworks-Debug-output-files.xcfilelist'

これは、ローカルにインストールされているcocococoappodsのバージョンと引取されたプロジェクトで使用されているcococoappodsのバージョンが一致しないためです.ローカルcococompappodsを削除して、プロジェクトと一致するバージョンを再インストールすればいいです.バージョン情報を表示:
$ pod --version
指定されたバージョンを削除
$ sudo gem uninstall cocoapods -v 1.9.1
権限エラーが発生した場合、使用できます.
$ sudo gem uninstall -n /usr/local/bin cocoapods -v 1.9.1
指定バージョンのインストール
$ sudo gem install cocoapods -v 1.8.4
権限エラーが発生した場合、使用できます.
$ sudo gem install -n /usr/local/bin cocoapods -v 1.8.4
最後に、pod installをやり直せばいいです.