LoginSignup
8
3

More than 5 years have passed since last update.

fastlane matchでgit cloneが終わらない

Posted at

初めてfastlane使ってみたら微妙にハマったのでメモ。

現象

証明書の管理をしたかったのでまずmatchから使ってみたく、セットアップをして下記のコマンドを叩いたのですが・・・

$ bundle exec fastlane match development

下記のログが出て以降、うんともすんとも言わなくなってしまいました。

[02:22:08]: Cloning remote git repo...
[02:22:08]: If cloning the repo takes too long, you can use the clone_branch_directly option in match.

原因

どうも途中でGitのプロンプトが出るような状態だとそれを検知できずに止まってしまうみたいですね。
https://github.com/fastlane/fastlane/issues/1981

僕の場合は設定しているリポジトリをcloneしようとした時のパスフレーズを入力するプロンプトに引っかかっていたみたいです。

$ git clone [対象のリポジトリのURL]
Enter passphrase for /Users/my-user-name/.ssh/id_rsa: <-これ

対応

下記を参考にパスフレーズを毎回聞かれないように設定したらできました。
http://garicchi.com/?p=19323

以上。

8
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
3