• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode 4 SVN issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 4 SVN issue


  • Subject: Re: Xcode 4 SVN issue
  • From: Jaume Llarden <email@hidden>
  • Date: Sat, 30 Apr 2011 23:10:23 +0200

I was able to solve the problem you describe by logging in to Subversion with my credentials from the Terminal *before* using Xcode 4. This is anyway what the Xcode 4 guide recommends (I came across it in the documentation after finding out the solution by googling and doing some tests):
If you’re using Subversion, a commit copies the file into the remote Subversion repository. Therefore, you must be connected to the repository before you can execute the Commit command in Subversion.

This is the procedure that worked for me:

1) Run a Subversion command, like 'svn log', specifying your username and password:
$ svn log --username jaume svn://myserver/myproject
Authentication realm: <svn://myserver:3690> f610e3fe-e040-4c8b-92dc-27f5719febf5
Password for 'jaume':
------------------------------------------------------------------------
r14 | jaume | 2011-04-27 18:43:03 +0200 (Wed, 27 Apr 2011) | 1 line

2) Start Xcode 4 and open the project "myproject".

When you commit a change, Xcode 4 should access the Subversion server with username and password you typed in 1).

If you omit step 1), Xcode 4 logs in to Subversion anonymously. So operations which don't require privileges will work, but a commit fails with the error you describe in your post, because svn asks for a username and password:
Username: svn: Commit failed (details follow):
svn: Can't read stdin: End of file found

I would expect Xcode 4 to always use the credentials from Organizer (shift-command-2), if defined, but it doesn't seem to be the case.

Hope this helps,
jaume

> Subject: Xcode 4 SVN issue
> From: Digvijay Gupta <email@hidden>
> Date: Wed, 16 Mar 2011 11:24:33 -0400
>
> 			Dev Environment
> 				Xcode 4
> 				SVN Universal Subversion 1.6.16 Bnaries
> I can make commit code from Xcode 3.2 & command line also, But when I am using Xcode 4 and try to commit it gives an error message
>
> Authentication realm: <svn://xxx.xxx.10.54:3690> 24622c7a-f8ab-4c74-a294-f197ac3f119f
> Password for 'Digvijay':
> Authentication realm: <svn://xxx.xxx.10.54:3690> 24622c7a-f8ab-4c74-a294-f197ac3f119f
> Username: svn: Commit failed (details follow):
> svn: Can't read stdin: End of file found
>
> Do I need to configure something else for Xcode 4.
> Thanks
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Xcode 4 Settings
  • Next by Date: re: XCode 4 settings
  • Previous by thread: Re: Editing nib files in XCode 4 and other stuff (corrected!)
  • Index(es):
    • Date
    • Thread