`
xuanzhui
  • 浏览: 200939 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

Couldnot communicate with a helper application

    博客分类:
  • iOS
阅读更多

记录一下...

 

http://pinkstone.co.uk/how-to-fix-couldnt-communicate-with-a-helper-application-in-xcode-7/

 

How to fix "Couldn't communicate with a helper application" in Xcode 7

 

Screen Shot 2015-09-18 at 17.30.49

There appears to be a bug in Xcode 7 that you may or may not encounter: when creating a new project with a Git repository, Xcode 7 may tall you that it “couldn’t communicate with a helper application”. The same bug may tell you that it “couldn’t commit files”.

This happened to me after upgrading from Xcode 6.x with which I’ve never had this problem.

Turns out the “helper application” is in fact Git: for some reason Xcode 7 is eager to associate you (the committer) with a name and an email address. Xcode even offers to access your Mac contacts upon first launch.

To fix it, all we need to do is launch our trusty Terminal app (the command line tool) and tell Xcode who we are, and those errors will be a thing of the past. The good news is that it only has to happen once. Here’s how to do it:

On the command line, type the following:

xcrun git config --global user.email you@yourdomain.com
xcrun git config --global user.name "Your Name Here"

You won’t receive any feedback if everything went well here. But next time you commit or create a new project those pesky error messages will be a thing of the past (until you encounter the next big Xcode quirk of 2015).

Kudos to Kenneth Vittetoe for this solution!

  • http://stackoverflow.com/questions/14694662/xcode-and-git-source-control-the-working-copy-xxxxx-failed-to-commit-files
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics