iCloud or version control?
iCloud may seem like a good idea for syncing Xcode projects, but it actually leads to problems. You must use git . I recommend using bitbucket (online git repos), which is free. You can post private or public projects on a bitbucket. I like the beatpack because of the free private repositories. GitHub does not provide free private repositories!
Easy to use
When you finish editing the code on one computer, you can commit the changes and then transfer the changes you made to the remote repository. When you open your project on another computer, you need to extract it (pull it out) from the remote repository.
Using git, you can easily share your code with other team members.
how
More details here:
source share