teratail
質問するログイン新規登録

Q&A

解決済

1回答

558閲覧

なぜかpod setupが出来ない

wataame

総合スコア302

Xcode

Xcodeはソフトウェア開発のための、Appleの統合開発環境です。Mac OSXに付随するかたちで配布されています。

0グッド

0クリップ

投稿2018/12/19 05:46

編集2018/12/19 07:34

0

0

pod setupコマンドを入力すると下記のエラーが出て困っています。

【やったこと】
・デスクトップやダウンロードディレクトリなどにある古い関連フォルダ削除
・pod cache clean --all(キャッシュ削除)
・git clone https://github.com/CocoaPods/Specs.git master(githubからcloneする)
・再ダウンロード&再起動

他に試すべきことありますでしょうか、、
詳しい方いましたらよろしくお願いします。。

[!] CocoaPods was not able to update the master repo. If this is an unexpected issue and persists you can inspect it running pod repo update --verbose

【追記①】
http://mzgkworks.hateblo.jp/entry/cocoapods-master-repo-error
上記を参考に下記のコマンド入力するもダメでした、、
$ pod repo remove master;
$ pod setup;

【結果】
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
[!] CocoaPods was not able to update the master repo. If this is an unexpected issue and persists you can inspect it running pod repo update --verbose

【追記②】
https://code.i-harness.com/ja/q/243e5b4
上記を参考に下記のコマンド入力するもダメでした、、
$ rm -f ./.git/index.lock;
$ rm .git/COMMIT_EDITMSG;
$ pod setup;

【結果②】
[!] CocoaPods was not able to update the master repo. If this is an unexpected issue and persists you can inspect it running pod repo update --verbose

【追記③】
https://akamist.com/blog/archives/478

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

guest

回答の取得に失敗しました

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問