XCode Version 7.1 (7B91b) and TFS 2013 GIT Authentication Failure

点点圈 提交于 2019-12-22 09:47:27

问题


We are working on Xcode Project connected to our local TFS 2013 (Update 3) Server via TFS Provided Git Repository.

When we use older version of Xcode, we are successfully able to check-in the files and perform all other Git operations. We are also able to perform all Git Operations via command line Git.

The trouble is when we use latest version of Xcode - Version 7.1 (7B91b). On entering valid credentials, we are getting error saying

Authentication failed because the user name or password was incorrect.

The same credentials / configuration work on older version of Xcode and Git Command Line Options.

To add more to the surprises, we are able to connect to github.com successfully.

We are able to reproduce issue on other systems too. Please provide us the best way to resolve this error.


回答1:


For us it turned out to be because Xcode 7 does not support Windows Authentication. The solution described here solved it for us:

"This happens because XCode 7 doesn't support Windows Authentication. I don't know why. It seems to be a common problem amongst users because there are many posts about it in google.

To make it all work you should enable Basic Authentication in your IIS TFS website on "tfs" virtual folder.

Be careful though because basic authentication sends your credentials over network as plain text. You definitely must use SSL in this case."

(source)



来源:https://stackoverflow.com/questions/33471791/xcode-version-7-1-7b91b-and-tfs-2013-git-authentication-failure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!