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:

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!

About Jay Versluis

Jay is a medical miracle known as Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

14 thoughts on “How to fix "Couldn't communicate with a helper application" in Xcode 7

  1. Hi, Thank you for this. I got this thing also hanging around, but before I use those terminal line’s, what if my Apple ID is different then my git ID/email. What should I use?

    1. Hi rva, the email and name are arbitrary and only identify you as the committer in the current repository. The email doesn’t even have to be valid. Those credentials don’t log you in anywhere (note the absence of a password), they don’t have to be either an Apple ID nor a GitHub login. When you’re committing to a local repo, it is by default neither connected to GitHub nor to Apple in any way. The idea is that each committer uses the same name/email for every commit so users works can be attributed.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.