You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Xcode 4.2 can't commit code by svn?

Hi, all:

I got a problem while using xcode 4.2 to commit source code to the svn server.


The message pop up below:

User uploaded file

The repository "xxxx" could not be reached.

Please verify that the repository is online and reachable and try again


But the svn server is online and I can use the command line in the terminal to commit them, and the organizer shows the server works fine also.

User uploaded file


Is that the bug of the Xcode 4.2 or I got the wrong settings?


I'm using MacBookPro 2011, Lion 10.7.2 and the lion was just new installed.


Thank you!

Jason Cheng

Xcode-OTHER, Mac OS X (10.7.1)

Posted on Oct 12, 2011 5:59 PM

Reply
27 replies

Oct 27, 2011 4:32 AM in response to benjaminfromtrzin

Well, I configed the SVN server, and I could access the repo via https://192.168.0.88/svn/repo in Safari.

It asked me to ensure the certificate(Always trust), then I needed to enter my username and possword(Store in my keychain).

That's all right.

I can still work, just like Jiawei Cheng said "I can use the command line in the terminal to commit them, and the organizer shows the server works fine also.".

But I couldn't commit/update via right-clicking the file in the Project navigator.

I have no idea now.

Nov 19, 2011 12:32 PM in response to jongwonfromseoul

Could you elaborate on this, Im kind of new to SVN. I have basic understanding of it, but Im desperate to get this working. I'm running it off a remote Mac mini and have no idea how to connect to it from Safari, since typing in the address I use in terminal, and variations of it results in "Can't connect to server messages." Can you provide some more info? Please help.

Thanks.


Message was edited by: BadgerEnt

Nov 26, 2011 12:43 AM in response to Jiawei Cheng

Update: As I mentioned in a previous post, SVN access wasn't working for me either. I tried all the hints from other users but nothing worked.


But when I upgraded to Lion, Subversion started working again! (I still had to use the Safari certificate acceptance workaround mentioned above, though.)


So perhaps Subversion with Xcode 4.2.x is only broken on Snow Leopard?

Nov 28, 2011 7:52 PM in response to jongwonfromseoul

I used to access the repository on my on my own machine using


svn+ssh://127.0.0.1/Users/username/SVN/repository


as the location and was experiencing the problem.

Checking out the files to a different directory by using instead the location


svn+ssh://localhost/Users/username/SVN/repository


made the problem disappear.


Thanks for posting the information!

Xcode 4.2 can't commit code by svn?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.