Reputation:
Which files in iOS xcode project should we version on bzr server for version control? And how to properly pull the project on another mac?
Or simply in other words, what files are needed to export a project from one mac to another?
Upvotes: 1
Views: 1839
Reputation: 7493
Think about this in a different way. As Git is baked into Xcode, there are a lot of questions about what to put into a .gitignore
file such as git-ignore-file-for-xcode-projects. So this gives you a starting point for what is NOT needed for a project under version control.
I'd see how to work this list into the Bazaar equivelent - which funnily enough is called .bzrignore
.
Upvotes: 0
Reputation: 49034
In addition to your code and media files, the main thing you need for Xcode itself is the project.pbxproj
file inside the .xcodeproj
package.
Upvotes: 3
Reputation: 1539
I'm not sure exactly which files need to be under version control since I don't use Xcode but you can probably find out by executing the "clean" operation or whatever it's called in Xcode to delete all build artifacts. What remains is probably what you need to put under version control.
After that, if you find a particular Xcode file is changing every time you commit and you don't believe you are changing project settings, then that may be a "workspace" file which is not worth keeping under version control and you should add it to the list of ignored files: bzr ignore FILE
.
Upvotes: 0