XCode 4的svn不能commit的解决办法

XCode4 集成svn后,commit时提示认证错误,烦恼之极,google良久,终得一法。

原链接

http://plainoldstan.blogspot.com/2011/03/xcode-4svn-could-not-authenticate-to.html

XCode 4–svn. Could not authenticate to server: rejected Basic challenge
Yeah, why this should happen to me during my 1am attempt to check in changes back? I upgraded today to XCode 4 and everything seemed to work ok with svn until this moment. Based onto error message detail and some info here: http://help.beanstalkapp.com/discussions/problems/3083-cannot-connect-with-xcode-4-dev-preview one can say xcode is not sending my credentials to svn right.

I’m not sure what was the version of svn before upgrade on my mac, now it shows on svn –version: svn, version 1.6.5 (r38866). After several attempts to put my login info to the “repositories” place, I had a blast from the past. Ok, so probably this info is cached inside svn itself and after upgrade today it got wiped out?. I have anonymous read access enabled, so that would explain my checkouts working just fine.

So lets use svn itself to attemt to solve this:

cd to your working folder (where your xcode project is located)

use svn st to list your changes inside working folder

use svn commit to commit your changes.

Here, the moment comes and dialog looks like:

1. Stanislav-Dvoychenkos-MacBook-Pro: projectfolder stanislavdvoychenko$ svn commit -m"commit after xcode4 upgrade" 
2. Authentication realm: <http://192.168.1.181:80> Subversion Repository 
3. Password for 'stanislavdvoychenko': 
4. Authentication realm: <http://192.168.1.181:80> Subversion Repository 
5. Username: Enter Your username here 
6. Password for 'Your username': Enter Your password here

On line #3 just do enter, it will come to #5 eventually if there is no your “computer user” in svn. And on #5 and #6 comes your chance to input correct svn user name and password. 

After this procedure, xcode 4 started to commit just ok as well. Argggh, now running to bed!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值