当我使用xcode 9 svn提交项目的时候,出现了“The working copy "ProjectName" failed to commit files. Couldn't communicate with a helper application”错误,小编找了很久的资料,终于在Stack Overflow网站找到了原因:
We found that the graphics files with a @ character in them caused the problem. SVN doesn't like @. When you do an SVN operation on a file with a @ in its name you have to add another @ at the end of the command. Seemingly xCode is not taking this into consideration when interacting with SVN. The workaround for this is to temporarily move your .svn file from your project directory, do the work in xCode, then move your .svn file back and manually update SVN using the non-xCode interface of your choice.
这个回答的意思是说xcode对svn提交支持力度不够,当图片文件带有“@”符号的时候,很可能就无法使用svn提交,就会报“The working copy "ProjectName" failed to commit files. Couldn't communicate with a helper application”错误。
错误解决方案:
先忽略掉带有例如cat@2x.png这类型的图片文件,将普通的文件先提交上去,然后再使用svn命令行手动提交带有@鼠标符号的png图片,例如:svn add cat@2x.png这样就行了!