XCode 4.2 SVN 问题 [英] XCode 4.2 SVN issues

查看:31
本文介绍了XCode 4.2 SVN 问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从我升级到 4.2 以来,我就无法将我的项目存储库连接到 XCode.我有一个带有转发端口的本地服务器,可以从本地网络外部访问.我有一个指向外部 IP 的 DNS 记录.当我明确定义外部 ip 时(即 https://123.456.789.000/svn/...) 存储库已正确链接,没有问题.当我指定内部地址时,这也有效.问题是当我使用存储库 dns 时 - XCode 显示一个带有主机无法访问"的红点.我确定这是一个 XCode 4.2 特定问题,因为我在其他客户端(包括较旧的 XCode 版本)中尝试过这个问题.基本问题是 - 外部 DNS 不适用于 https.
有什么想法吗?

I am having trouble connecting my project repository to XCode, ever since I've upgraded to 4.2. I have a local server with a forwarded port to be accessed from outside the local network. I have a DNS record pointing to the external ip. When I explicitly define the external ip (i.e https://123.456.789.000/svn/...) the repository is properly linked, no problems. This also works when I specify the internal address. The issue is when I use the repository dns - XCode shows a red dot with "Host Unreachable". I am sure this is an XCode 4.2 specific issue, because I tried this in other clients, including older XCode versions. The basic problem is - the external DNS doesn't work with https.
Any ideas?

推荐答案

我遇到了和你类似的问题,建议你试试:

I had issues similar to yours, I suggest you try:

  1. 关闭 Xcode + Organizer
  2. 在 Safari(不是任何其他浏览器)中打开您的 svn 网址 - 使用 dns 名称
  3. 应该会说地址不受信任,因为证书是不同的名称/地址
  4. 点击显示证书,然后勾选始终信任然后继续的框
  5. 它可能会提示您输入您的 mac 用户名/密码以添加到钥匙串
  6. 打开 xcode 并使用 DNS 名称重试..

xcode 和访问具有 HTTPS 证书的 svn 服务器的问题,这些证书未通过任何检查(主机匹配、自签名等).在 safari 中打开地址并添加为受信任可以解决此问题!

The issue with xcode and accessing svn servers which have HTTPS certificates which fail any of the checks (be it host matching, self signed etc..). Opening the addresses in safari and adding as trusted solves this problem!

这篇关于XCode 4.2 SVN 问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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