Xcode 添加 SVN 出现 nsurlerrordomain error 1012

来源:互联网 发布:阿里云计算技术架构 编辑:程序博客网 时间:2024/05/20 18:53

解决方法:

打开终端 然后输入如下命令 

svn ls xxxx  (xxxx是你SVN Server的地址,例如:https://xxx.xx.x.xxx:8080/svn/root)


Error validating server certificate for 'https://xxx.xx.x.xxx:8080':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
 - The certificate hostname does not match.
Certificate information:
 - Hostname: svnedge.collab.net
 - Valid: from Fri, 27 Aug 2010 14:05:48 GMT until Mon, 24 Aug 2020 14:05:48 GMT
 - Issuer: CollabNet Subversion Edge, CollabNet, Inc., Brisbane, CA, US
 - Fingerprint: 9d:63:2e:1b:53:31:00:ba:c9:ef:f6:45:92:7a:c2:37:d1:de:b4:2c
(R)eject, accept (t)emporarily or accept (p)ermanently? p

这里询问你是否允许这个地址的访问,我们输入 “ p ”,然后回车即可。


验证是否OK的方法:

再次控制台输入  svn ls xxxx

当不再提示让你选择是否允许的提示,而是直接控制台出现如下信息,说明OK了

Authentication realm: <https://xxx.xx.x.xxx:8080> CollabNet Subversion Repository

然后 从Xcode中Check Out就可以了~


0 0
原创粉丝点击