Xcode project in Dropbox Folder?

Discussion in 'iPhone/iPad Programming' started by ArtOfWarfare, Mar 4, 2012.

  1. macrumors 603

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #1
    I've only just started using dropbox and I was curious, does anyone put their entire Xcode projects in their dropbox folder? Is this a good way of keeping multiple computers used for development in sync? Or will Xcode just get messed up somehow by doing this?
     
  2. macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
    I haven't tried to use dropbox for this. Are there going to be multiple developers or only one? I would guess that just for syncing files it might work OK.

    FWIW, real source code control is how the big boys do this. You should too. subversion or git are free and you should learn how to use one of them.
     
  3. macrumors newbie

    Joined:
    Dec 24, 2011
    #3
    I keep my projects in a Dropbox folder and develop on an Air, Mini and MacBook Pro, with all three machines accessing the same projects.

    Never had an issue.
     
  4. thread starter macrumors 603

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #4
    Okay, thanks! I'll start doing that.

    Good point; Square is interviewing me for a job Tuesday. I guess it's time I start learning about that so when they ask in the interview I won't be caught off guard.
     
  5. macrumors regular

    Joined:
    Sep 11, 2008
    #5
    I got mine this summer and I am not sure if he's still giving away his book for free, but the web site hasn't changed so you can try: Free Printed Copies of Version Control by Example, by Eric Sink.
     
  6. macrumors newbie

    Joined:
    Aug 12, 2011
    #6
    xCode, git, Dropbox

    If you are not collaborating with other, seems like using dropbox with xcode is a win. Since xcode now supports git natively, all you need to do is commit your changes to get the benefits of source control, and if your dev folder is on dropbox, even your source control is backed up. Am I missing something?

    -- RR
     
  7. macrumors 65816

    pulsewidth947

    Joined:
    Jan 25, 2005
    Location:
    squarefrog.co.uk
    #7
    I do this but with one caveat - make sure you have the same account name on all devices!
     
  8. thread starter macrumors 603

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #8
    ???

    I think the short name is different on the two computers... In one I capitalized the first letter of my name, in the other... I haven't had any issues? All I did was export my keys and stuff generated by Xcode on one computer and import them to the other?
     
  9. macrumors 65816

    pulsewidth947

    Joined:
    Jan 25, 2005
    Location:
    squarefrog.co.uk
    #9
    You might be ok then. When I set it up, I had to make sure the shortname was the same on all devices. Maybe it now targets ~/SomeDir, rather than /Users/shortname/SomeDir

    The important thing was that the shortname was the same, but if you aren't experiencing difficulties, then don't worry about it :)
     
  10. thread starter macrumors 603

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #10
    Now that you mention it, I think I had to change a bunch of resources for one project to be set with a relative source rather than an absolute one. Most of my resources for most of my projects were already set to relative, though.
     

Share This Page