Is it save to ignore *pbx* files in version control of xcode project?
I want to upload my xcode project to git, but only needed files. I see different files that i'm sure are created during build开发者_开发百科, but about others i'm not. I'm talking about *pbx*
and *.oa
files.
I'm using git. And want to configure an "exclude" file with patterns of files to be ignored. Is it safe to add the following patterns: *pbx*
and *.oa
?
Maybe someone can share an exclude file..
When using Git, I use the following .gitignore
file:
.DS_Store
build/
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
That's for Xcode 3.x. There may be additional files generated by Xcode 4 that should be ignored (maybe someone else will kindly provide that information).
No it is not safe for pbx because project.pbxproject is very important (and a real pain with version control). I am unsure about *.oa but here is a list of items I currently exclude in svn.
*.pbxuser,
*.mode*,
build,
.DS_Store,
*.perspectivev*,
*.xcworkspace,
xcuserdata
精彩评论