Xcode couldn't communicate with helper application

I installed SourceTree for Mac for use with Bitbucket projects but now Xcode can't commit to my local Git repositories created prior to installing SourceTree. I maintain several local GIT and remote SVN repositories on my MacBook Pro and Xcode has always offered to create them when creating new projects but now, after installing SourceTree, I cannot commit to or create any repositories from within Xcode.

Deleting the SourceTree app doesn't repair this.

It seems SourceTree is interfering with Xcode's ability to commit to and maintain these repos. Querying and comparing working copy with repository appears to work normally.

Upon commit, Xcode says "Couldn't communicate with a helper application".

How do I get SourceTree to let Xcode do its thing directly on these repositories?

SourceTree for Mac v2.3

2 answers

1 accepted

3 votes
Answer accepted

Further research and I can answer my own question:

Solution: Don't leave Full name and Email address blank in Preferences General.

It still works! THX

Like 1 person likes this
0 votes

The solution is to add changes once with a git command. Use terminal and navigate to Xcode project folder. If you are in the right folder, this command:

ls -al

will list a .git folder. Then you know you're in the right place. Then execute

git commit -a -m "Commit title here"

After that commit via Xcode should work again. If not try the same steps again for 2 to 3 times.

I just check the git status and try to commit again 3 times and the issue is resolved.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,204 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you