Xcodeの"Communication with the service was interrupted."は.gitconfigのpath設定を見直そう
Xcodeを使い始めたのですが、新しいプロジェクトを作成して、プロジェクト画面が開く瞬間に"Communication with the service was interrupted."という警告が表示されてうっとうしいことこの上無い。実用上は問題無さそうなのだが、気持ち悪い。
で、Googleで検索してみると
I am having problems when I attempt to add a new Swift Package to my project.
On Xcode 11.3.1 I receive a "Couldn't communicate with a helper application." error message.
PS with Xcode 11.4 the error message has changed to "Communication with the service was interrupted."
という「どうしらええんじゃ〜」という質問に対して、「~/.gitconfigのパス設定が悪さをしているよ」と回答あり。以下の設定に問題ありなのだそうだが…
Evntually I idenitified that this was the section causing the issue.
[includeIf "gitdir:~/some/path/"] path = "~/some/path/.gitconfig_include"
しかし、自分の環境では
path =
という1行しか無い。どうしましょう?とりあえずpath設定が悪いみたいだから、一旦コメントにしてみると 、プロジェクト新規作成で警告が出なくなった。で、もう一度path設定を有効にしてみると、なぜかもう警告が出なくなっていた。
なんででしょうねえ?まあ、結果オーライ。