XCode版本7.1(7B91b)和TFS 2013 GIT身份验证失败 [英] XCode Version 7.1 (7B91b) and TFS 2013 GIT Authentication Failure

查看:125
本文介绍了XCode版本7.1(7B91b)和TFS 2013 GIT身份验证失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在通过TFS提供的Git Repository连接到我们本地的TFS 2013(Update 3)服务器上的Xcode Project。



当我们使用老版本的Xcode时,能够成功签入文件并执行所有其他Git操作。我们还可以通过命令行Git执行所有Git操作。



麻烦的是当我们使用最新版本的Xcode - 版本7.1(7B91b)时。
在输入有效的凭证时,我们收到错误消息:
$ b

验证失败,因为用户名或密码不正确。

在老版本的Xcode和Git命令行选项上使用相同的证书/配置。



为了增加更多惊喜,我们能够成功连接到github.com。



我们也可以在其他系统上重现问题。请为我们提供解决此错误的最佳方法。 对于我们来说,原因是Xcode 7不支持Windows验证。这里描述的解决方案解决了我们的问题:
$ b


发生这种情况是因为XCode 7不支持Windows身份验证。
I don不知道为什么,这似乎是用户
中的一个常见问题,因为在google上有很多关于它的帖子。

为了使这一切工作,你应该在tfs虚拟文件夹中的IIS
TFS网站上启用基本身份验证。



请小心,因为基本身份验证会将您的凭据
通过网络发送为


来源

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.

解决方案

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)

这篇关于XCode版本7.1(7B91b)和TFS 2013 GIT身份验证失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆