The working copy '' failed to commit files - Couldnt communicate with helper application

后端 未结 6 1590
挽巷
挽巷 2020-12-29 19:19

I\'ve just updated to Xcode 7 general release and ive tried committing files. Its failing however, and im getting the following message;

Ive seen this quest

相关标签:
6条回答
  • 2020-12-29 20:03

    This happens to me when I add new image assets. The "fix" is to go to File > Save BEFORE you do a Git Commit. Then the Commit works Fine.

    0 讨论(0)
  • 2020-12-29 20:04

    first you check in command line follow this picture .If git is clean (add . + commit done)

    also have problem same you ForceQuit Xcode and open again

    0 讨论(0)
  • 2020-12-29 20:12

    The above solution did not work for me. I am running on Xcode 8 (8C1002) and I have close to 4500 files to commit at once (adding the sources of a library to my project).

    The only way I can make it working (without the error message) is by committing smaller number of files multiple times instead of all at once.

    0 讨论(0)
  • 2020-12-29 20:13

    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.

    To fix 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"
    
    0 讨论(0)
  • 2020-12-29 20:13

    If the above mentioned solutions don't work, try this one:

    Add changes once with a git command. Use terminal and change to your working directory (that contains a /.git folder) and execute:

    git commit -a -m "Commit title here"
    

    After that commit via Xcode should work again.

    0 讨论(0)
  • 2020-12-29 20:16

    I had the same problem.

    This fixed my problem: Quit Xcode(using CMD+Q) & run it again.

    0 讨论(0)
提交回复
热议问题