我在Xcode 8上遇到了源代码控制(git)的奇怪问题。
删除一些旧的,已经合并到主分支的弹出窗口出现了Couldn’t communicate with a helper application
。
分支被删除但是另一个问题出现了,所以在提交时我有这样的事情:
Repository View
似乎没问题:
Project View
应该看起来有点相同,但有点奇怪:
我可以提交,但在尝试删除分支时,警告弹出窗口仍然会出现。我已经搜索了解决方案,找到了这个:xcode 7.2 couldn’t communicate with a helper application但是当我用xcrun git config --global user.email
和xcrun git config --global user.name
检查终端时,它给了我正确的值。
我也使用SourceTree,它完美无缺,没有任何警告。
所有其他项目都没问题 - 没有警告,没有奇怪的Project View
。
更新:
所有其他项目都有正常的Project View
但显然当我尝试删除分支时出现警告弹出Couldn’t communicate with a helper application
。
任何帮助将不胜感激。
安装Xcode 9并更新项目解决了这个问题
该问题的工作解决方案是进行手动提交:
解决方案是使用git命令添加更改。切换到您的工作目录(包含/.git文件夹)并执行:
git commit -a -m "Commit title here"
原帖:Xcode 9 commit: Couldn't communicate with helper application