Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4.2: xcdatamodel is marked as copied

I recently upgraded Xcode to start ios5 development, but for some reason I encounter a very strange error with xcodes integrated version control. When I add a new model version and try to commit the changes to our repository I just get the following error:

svn: Commit failed (details follow): svn: Entry for '/Users/r2d2/Documents/workz/ios/blub iPhone 1.1/blub.xcdatamodeld/blub 3.xcdatamodel/elements' is marked as 'copied' but is not itself scheduled for addition. Perhaps you're committing a target that is inside an unversioned (or not-yet-versioned) directory?

I could reproduce the bug on all our machines with Xcode 4.2 here.

like image 581
Alex Avatar asked Oct 31 '11 08:10

Alex


1 Answers

I get this from Xcode all the time, but a simple commit from the command line always gets around it:

cd myProjectDirectory
svn commit -m 'My commit message.'

Seems to be a problem with Xcode's SVN support.

like image 128
Tony Avatar answered Oct 14 '22 01:10

Tony