SVN with Xcode 4 Ignore List

Mhh Lecker picture Mhh Lecker · Mar 16, 2011 · Viewed 7.7k times · Source

For Xcode 3 I always added *.mod1v3 and *.pbxuser to svn:ignore. Which are the user-specific files in Xcode4?

My first intent would be to add the folders xcuserdata and project.xcworkcpace to svn:ignore

Under the folder project.xcodeproj/xcuserdata/user.xcuserdatad/xcschemes/ there are some files which I don't know for what they are used within xcode. And so I did not know if I should add them to SVN.

What are your best practices with SVN and Xcode 4?

Answer

Oded Ben Dov picture Oded Ben Dov · Jul 20, 2011

UPDATE: A better English SVN-targeted on SO question and answer here: SVN ignore pattern with Xcode 4

I found this blog post for GIT, which shouldn't be any different for SVN:

http://www.betawax.de/blog/2010/08/gitignore-xcode-4/

If you don't read German like me, here's Google's automatic translation:

http://translate.google.co.il/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=auto&tl=en&u=http%3A%2F%2Fwww.betawax.de%2Fblog%2F2010%2F08%2Fgitignore-xcode-4%2F

Cheers, Oded