Working Together

Joined
Oct 18, 2011
Messages
160
Reaction score
0
Points
16
Hi,

My friend and i have just started building our first app. We are complete beginners, however we want to be able to work on the same code in Xcode from two different locations.

Is this possible? If so, what is the best way to set this up? Thanks in advance for your help.
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,770
Reaction score
2,108
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
The way you work collaboratively is to use a source control system to share the code. You can use the many GIT services online for example. The well known ones like Github, Gitroious are tend to be for public work. So go with somethings like Assembla private GIT to setup something for you two to share..

Once you have setup the GIT repo, both of you should access it and then start creating files and pushing them to the GIT server so that the other can pull it, integrate it into their version of the code and continue working.

You do NOT want to share the same physical copy of the file.

Using tools like GIT is how companies allow people to work collaboratively on projects..
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
You do NOT want to share the same physical copy of the file.
I'm quoting this to re-emphasize this for not just code but any shared resource. Working on the same copy is only going to lead to disaster and/or confusion. Version control is, without question, the way to go here.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top