XCode question for those programming on a Mac for a long time.

Discussion in 'Mac Programming' started by chrono1081, Feb 3, 2011.

  1. chrono1081, Feb 3, 2011
    Last edited: Feb 5, 2011

    chrono1081 macrumors 604

    chrono1081

    Joined:
    Jan 26, 2008
    Location:
    Isla Nublar
    #1
    Hi guys,

    For those programming on a mac for a long time I was just wondering if when Apple releases XCode 4 if everyone will need to upgrade immediately (as in needing it for app store submissions, etc) or if using older versions of XCode will be fine for awhile. I haven't been programming on a mac long enough to have used XCode 2 so I'm not sure how this whole thing works.
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    If anything existing iOS developers would know more about this since the Mac App Store (MAS?) is brand new.

    As with all previous versions, the time you will need to upgrade is to target a new SDK or architecture.
     
  3. admanimal macrumors 68040

    Joined:
    Apr 22, 2005
    #3
    The question is, once XCode 4 is officially released, will XCode 3.whatever still be the one provided along with the normal SDK updates. If 4 becomes the default, then it is likely that you will need to upgrade to support the latest SDK.

    I'm not sure what happened back in XCode (Project Builder?) 2 days, but I'd say the current times are sufficiently different that history would not be a good guide anyway.
     
  4. chrono1081 thread starter macrumors 604

    chrono1081

    Joined:
    Jan 26, 2008
    Location:
    Isla Nublar
    #4
    Thanks guys. I'll probably just end up upgrading. The only bad thing is it takes me forever to get my SDL libraries installed again (all online documentation is wrong for setting this up except for one post on Mac rumors awhile ago that shows you where to put things lol!)
     
  5. gnasher729 macrumors P6

    gnasher729

    Joined:
    Nov 25, 2005
    #5
    XCode 4 is not released. Serious developers will switch to XCode 4 for development when it is released _and_ has a reputation for stability.
     
  6. chrono1081 thread starter macrumors 604

    chrono1081

    Joined:
    Jan 26, 2008
    Location:
    Isla Nublar
    #6
    Oops! That should have been releases not released. I'll fix it in the original post.

    I just wasn't sure if they will force everyone to use the new version for app store (iOS) submissions or if I'd be able to stick with my tried and true setup for now and a few months after 4's release.
     
  7. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #7
    Actually, I find the opposite is true.

    I find I need to keep old versions of the tools around to build apps that will run on the older Macs that some people still use.
     
  8. PatrickCocoa macrumors 6502a

    Joined:
    Dec 2, 2008
    #8
    Keep Multiple Versions

    This may be obvious, but you can install new versions of Xcode in different folders. Then you just use the version that you need for a specific circumstance.

    For example, I download and install most of the Xcode point updates. I have folders with the naming scheme: Developer YYYY_mm_dd Xcode X.x.x SDK X.x.x. So I have these folders on the hard drive Macintosh HD:

    Developer 2010_07_15 Xcode 3.2.3 SDK 4.0.1
    Developer 2010_11_22 Xcode 3.2.5 SDK 4.2
    Developer 2011_02_03 Xcode 4 GM seed SDK 4.2

    and so on.

    The yyyy_mm_dd is the release date in the download information, I use that because sometimes they release a new build with the same version number but at a later date. You can replace the date with the build number of just ignore the date/build if you want shorter folder names.

    Then if you have a project that needs SDK 4.0.1, you go to that folder and fire up Xcode. Or if you like Xcode 3.2.5 better than 3.2.3 for whatever reason, use that folder.

    I'm not sure what's under NDA and what's not, but it would make sense that .xcodeproj files created by Xcode 3.x can be opened by Xcode 4. If you're worried that a project opened in Xcode 4 will be unusable by Xcode 3, just duplicate that project and use the duplicate in Xcode 4 to play around with.

    Each Xcode installation is only 10 GB to 15 GB, and a 1 TB hard drive is less than $200, so space is not a problem. If you're a neat freak like many programmers, you can just trash any installation folders after you feel you no longer need that version. This assumes you don't save any projects in your installation folder - you should save projects somewhere else like the documents folder. One note, if you trash an installation folder, and you have Empty Trash Securely as a Finder preference, it will take several hours to empty the Trash. You may want to turn off secure delete before emptying the Trash in this case.
     

Share This Page