[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion and Xcode - How?

From: Brian W. Fitzpatrick <fitz_at_collab.net>
Date: 2004-08-30 07:18:53 CEST

On Aug 29, 2004, at 10:27 PM, Mike Mellor wrote:

> I have been trying for about a week now to get subversion running with
> Xcode
> (OS X). I am having problems with a couple of file types: .nibs and
> one
> other file. Here is the status from an app that I built as a test:
>
> ~/Projects/SVN_Test > svn status
> M main.m
> M build/SVN_Test.build/SVN_Test.pbxindex/pbxindex.header
> M build/SVN_Test.build/SVN_Test.pbxindex/symbols0.pbxsymbols
> ~ build/SVN_Test.build/SVN_Test.pbxindex/strings.pbxstrings
> M SVN_Test.xcode/mike.mode1
> M SVN_Test.xcode/mike.pbxuser
> M English.lproj/MainMenu.nib/objects.nib
> M English.lproj/MainMenu.nib/info.nib
> ~ English.lproj/MainMenu~.nib
>
> I created the app in Xcode, quit Xcode and imported the app into svn,
> opened
> it in Xcode, and tried to commit the changes I made (I added a comment
> in
> main.m and moved a widget on the GUI). Here's what I get when I try to
> commit:
>
> ~/Projects/SVN_Test > svn commit -m "Test"
> svn: Commit failed (details follow):
> svn: Working copy
> '/Users/mike/Projects/SVN_Test/build/SVN_Test.build/SVN_Test.pbxindex/
> string
> s.pbxstrings' not locked
>
> I want to use Subversion, but I can't seem to get past this. What do
> I need
> to do to make Subversion and Xcode play nicely together? Thanks.

Don't put your build directory under Subversion control. There's a
whole lot of automatic deleting and adding that goes on in there, and
the .svn directories get blown away. Quit Xcode, 'svn remove' the
build directory, commit, and then start Xcode again and all should be
well.

-Fitz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 30 07:19:12 2004

This is an archived mail posted to the Subversion Users mailing list.