Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Share Xcode project between multiple developers

I have a project and I want to work with another developer on the same project. I'm looking for a way to share the project between us, so that we can work on it parallel at the same time. I need it to work locally, without using an internet connection.

like image 778
Alkalouti Avatar asked Jun 05 '13 12:06

Alkalouti


3 Answers

I'm a part of a 2-3 iOS developers team so I can give you a few tips from my experience on collaborating (we use git, I'm assuming you know a bit about. if not, read this), after you get the hang of it here are my thoughts -

  • Try to make as little change as you can to your project pbx file simultaneity, It'll result in a conflict almost every time
  • Don't be scared of branches, we're using them all the time, if you two are planning to work on different features of the same product try to do it in different branches
  • We had serious problems with storyboards and collaboration - like pbx their content change even on open and merging those changes can be very tiring
like image 155
Nimrod Gutman Avatar answered Oct 19 '22 20:10

Nimrod Gutman


You already have Git available to you inside of XCode. You can share your code and work on it on the same time using "branching" mechanisms.

Bitbucket has excellent FREE private mode where you and 5 other people can share a Git repository. There are easy-to-use tutorials available on their site. I would highly suggest using that.

I would steer away from using SVN, there are better tools for what you are looking for.

like image 27
kgdesouz Avatar answered Oct 19 '22 19:10

kgdesouz


Why don't you use SVN ?

You can configure SVN in Xcode for doing this. Also you can use Git.

Check:

  1. Configuring Xcode to use subversion
  2. Git Source Control With Xcode
like image 3
Midhun MP Avatar answered Oct 19 '22 19:10

Midhun MP