Xcode 5 crashes with SVN version 1.7 - self signed certificate

后端 未结 5 909
陌清茗
陌清茗 2020-12-21 15:45

I\'ve updated to XCode 5 today (using the Mac AppStore) and ever since it keeps crashing whenever I open my previous projects (that are working copies of repos located in my

相关标签:
5条回答
  • 2020-12-21 16:00

    They didn't bother adding the UI controls to allow you to bypass the validity check for a SVN certificate. I have a self-signed cert on my svn server and this solution solved it for me. You have to "svn info url" in the terminal and (p) permanently accept that certificate. After that, xcode will work.

    Solution found here: http://kthoms.wordpress.com/2011/03/17/fixing-subversion-problem-error-validating-server-certificate/

    0 讨论(0)
  • 2020-12-21 16:02

    Okay - thanks to the link trojanfoe gave me, I was able to make XCode play nice with my repos again. Jordan Upham's reply did the job: https://devforums.apple.com/message/887478#887478

    0 讨论(0)
  • 2020-12-21 16:11

    I have also faced this problem. To prevent xCode5 from Crashing follow these steps. Xcdoe > Preferences > Source Control > Uncheck the Enable Source control . After that Xcode will not Crash .. :)

    0 讨论(0)
  • 2020-12-21 16:13

    i had the same issue and solved it. on previous xcode versions I used absolute ip address to checkout the project (e.g https://10.0.0.1:8443) but of course this doesn't match the hostname specified by server's certificate. so I used the terminal command line to make commit all my code and then I opened a new folder and re-checkedout the project, this time using the hostname as the svn address (e.g https://{hostname}:8443)

    then, on Xcode 5, open xcode without all previous projects (press alt+shift when clicking the xcode icon to do this) . go to your preferences and press the accounts tab. there you should see your old repository address, delete it.

    now open your project from the new re-checkeout folder you made in the previous steps. viola - all should be working.

    0 讨论(0)
  • 2020-12-21 16:18

    Thank you @Nishith Sheth for your answer, however, although this does indeed stop Xcode crashing, it means you will need to use svn from outside of Xcode. For me, this wasn't a permanent solution.

    I estimate the problem revolves around your working copy being upgraded to svn 1.7, yet your svn client is 1.6.x. To check your version of svn open the terminal and type:

    svn --version

    If you see that the version is 1.6.x or less you will need to upgrade your version of svn. This can be acheived simply by going to Xcode > Preferences... > Downloads.

    enter image description here

    Install the Command Line Tools, which will also install the svn 1.7 client. Once it has installed, check the version of svn, it should now say 1.7.

    Close Xcode and fire it up again and it should no longer crash and you should be able to use svn from Xcode once again.

    For more information, and the place I found my answer, please refer to this answer.

    0 讨论(0)
提交回复
热议问题