.GitIgnore for xCode 4 projects.

xCode git support is great, but if your working in a team or on multiple machines you will want to ignore any user/machine specific files.

In my .gitinore I have:

.DS_Store
*.swp
*~.nib
build/
*.pbxuser
*.perspective
*.perspectivev3
xcuserdata/

Seems to work pretty well.

Leave a comment