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

问题描述

自从我升级到4.2以来,我无法将项目存储库连接到XCode。我有一个本地服务器,可以从本地网络外部访问转发端口。我有一个指向外部IP的DNS记录。当我明确定义外部IP时(即 。)存储库已正确链接,没有问题。当我指定内部地址时,这也有效。问题是当我使用存储库dns时 - XCode显示一个带有Host Unreachable的红点。我确信这是一个特定于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名称再次尝试..

  1. Close Xcode + Organiser
  2. Open your svn web address in Safari (not any other browser) - using the dns name
  3. It should come up saying the address is untrusted as the cert is a different name / address
  4. Click show certificate and then tick the box saying always trust then continue
  5. it may prompt you for your mac username / password to add to the keychain
  6. Open xcode and try again using the DNS name..

xcode和访问svn服务器的问题拥有HTTPS证书,无法通过任何检查(主机匹配,自签名等)。打开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问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 04:04