What's the best way to work on a single (Xcode) programming project with a desktop and a laptop?
-
I have an iMac that I do most of my Xcode projects on. Next semester, I will be taking a class where I have to work on my MacBook. I want to keep all my files in one place. (the iMac) What's the best way to accomplish this (working remotely)?
-
Answer:
Do you mean you have two computers to boost productivity while like code is compiling etc on one computer you can switch to the other? I've thought about this as well, I think if you work on two separate tasks where the code you touch is in a different area, you should be fine. As for editing an xcodeproj file, it'd be the same as if two teammates were editing at the same time, you would eventually merge and conflict resolve, it'd be fine. I think the added benefit of the increase in productivity would far outweigh any time spent in resolving conflicts... Also the fact that you were the one that wrote code on both sides of the resolve, would make it a lot quicker and easier. The harder problem for me would be, I imagine, the constant mental context switching between tasks.
Amir Memon at Quora Visit the source
Other answers
Like , I'd suggest using some kind of version control repository to keep everything in sync. Most development teams use something like this. It lets you maintain a single authoritative version, and manage changes. Also it lets you go back in time to explain why something stopped working. And you have a backup of your code too. If you have an aways-on machine. You can run your own Subversion server on that. If you do not, you could use a cloud-based solution like GitHub or Beanstalk. http://beanstalkapp.com
Glyn Williams
I would suggest using git or an SVN. This will let you keep all your work local. Then when you make changes, you add a "commit", then "push" the files to a remote server. Finally when you move to a different machine, you just "pull" from the remote, and you have all the new updates.
Jeremy Spencer
If you install OSX Server on your iMac, you'll get the "Xcode service" which can host git repositories and perform continuous integration builds automatically on the iMac. Then, as others have noted, you can use a command-line 'git' client or the free SourceTree GUI git client from Atlassian on your laptop. When you use 'git' both the laptop and the iMac will have full copies of the source code, but they will be kept in sync by the commit / push / pull steps that you do. Also, you will have access to every old version of every source file, since 'git' keeps a history of all changes. You can do something similar with another version control system, Subversion (svn) instead of 'git.' In this case you don't even need OSX Server, you can use the pre-installed SVN that comes with Xcode or you can use the free install packages from Wandisco.
Christopher Burke
Related Q & A:
- What's the best way to hook up an overhead projector to a laptop?Best solution by Yahoo! Answers
- What's the best way to start a small clothing line business?Best solution by Yahoo! Answers
- What's the best way to get a job in a restaurant?Best solution by Yahoo! Answers
- What's the best way to get smudges off of a plasma?Best solution by Yahoo! Answers
- What's the best way to make a good impression at a job interview?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.