Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Xcode couldn't communicate with helper application

QwazyWabbit
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 16, 2016

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
QwazyWabbit
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 23, 2016

Further research and I can answer my own question:

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

Zbyszek Pietras August 17, 2018

It still works! THX

Like AalokJIPL likes this
BigMike April 24, 2019

The location in Xcode preferences has changed in Xcode 10.2.1, now under Source Control -> Git.  I entered my Developer ID full name and email address and it work perfectly first time.

Like Sandeep Khade likes this
Dan Esrey May 6, 2019

I wasn't able to add my name and email in Preferences; if I typed in the values and then navigated to a different window and back again, my changes were gone. What I ended up doing was using terminal. 

xcrun git config -- global user.name "your name"
xcrun git config -- global user.email email address

Like guilhermen_cit likes this
1 vote
AalokJIPL January 29, 2019

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
TAGS
AUG Leaders

Atlassian Community Events