Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue with a Core Data Model in a svn repository

Tags:

ios

svn

core-data

I am working on an iOS app in XCode 4. I am unable to commit the Data Model (.xcdatamodeld) to my subversion repository. The svn tool in xcode is a bit lacking so I went to the command line.

When I type "svn status", it shows a '?' beside my .xcdatamodeld file, which means it is not under version control.

When I do an "svn add" for the .xcdatamodeld, it tells me that it is already under version control.

I think this is more of an SVN issue. Any idea what could cause this contradiction?

jorj


1 Answers

When you create a new version xcode copies the .svn directory.

Solution: remove the .svn directory in the new version directory:

rm -rf DataModel.xcdatamodeld/DataModel\ 2.xcdatamodel/.svn
like image 123
Martin West Avatar answered Dec 11 '25 11:12

Martin West



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!