Xcode 9 commit: failed to contact helper application

I recently upgraded to OSX Sierra (from El Capitan) and to Xcode 9. I removed all compatibility issues (such as auto-detection issues) and would like to complete my local gitrep.

The following error appears:

enter image description here

I thought it might be the same error that appeared in Xcode 7 mentioned here: Xcode and Git Source Control: "Working copy of XXXXX failed to commit files"

enter image description here

But this is not so. I tried the solution mentioned above. Username and EMail are set correctly. I saved everything, tried to restart the machine and several other small things. Nothing worked - I cannot commit.

Any help was appreciated.

EDIT

I earned by doing manual and adding changes to

git commit -a -m "Fixes" 

I will keep an eye on this if this happens again when I make more changes and let me know here if that is the case.

+30
source share
5 answers

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

 ls -al 

will list the.git folder. Then you know that you are in the right place. Then do

 git commit -a -m "Commit title here" 

After that, the commit through Xcode should work again.

+33
source

For me, I had to fill in the full name and email address under "Settings"> "Source Control"> GIT (tab). They were empty.

+24
source

If you cannot change the git name in Xcode, you can change the username and email address using the terminal:

 xcrun git config --global user.name 'new_user_name' xcrun git config --global user.email ' new@email.com ' 

And restart Xcode.

+3
source

For me, Watchkit’s extension complication controller was installed in Preferences> Source Control> Git> Ignored Files. Removing from Ignored Files solved the problem. Xcode 10.1, Watch OS 4.2.

0
source

The problem that I encountered occurred when I tried to create a source control system, it showed that I could not contact the auxiliary application. so in the Xcode settings I go to the accounts and there I see that I logged out, I logged in again and saved the project, after closing the project and forcibly quitting Xcode I opened it again, and now it works fine for me

0
source

Source: https://habr.com/ru/post/1272397/


All Articles