ios 4 apps to ios 5?

Discussion in 'iOS Programming' started by themacster298, Apr 11, 2012.

  1. themacster298 macrumors member

    Joined:
    Feb 20, 2011
    #1
    So I am beginning my journey to develop iPhone applications, the only problem is that the book I am reading is on Xcode 3.

    Would opening the Xcode 3 project on Xcode 4 convert it to compatible code?
     
  2. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #2
    Xcode 4 is completely different looking than Xcode 3. Many of the items, features and controls are (hidden) in completely different locations, and some are outright missing.

    If you can use the book just for the general concept of coding with an IDE, and ignore all the pictures and locations of exact Xcode buttons and lists, etc., you might be OK.

    Otherwise, get a book (or online docs) suitable for driving Xcode 4.

    As for actual Objective C app code, iOS 4.x apps are likely 99.99% compatible with iOS 5.x. I don't recall any major deprecations of stuff frequently done in iOS 4 apps. Just a lot of additions. ARC (etc.) is available, but not required.
     
  3. cMacSW macrumors regular

    Joined:
    Mar 20, 2006
    #3
    Compatibility of iOS4 and iOS5 projects will not be a problem, as firewood says the issue will be the differences between Xcode 3 and Xcode 4. I'd suggest finding an Xcode 4 based tutorial.
     
  4. themacster298 thread starter macrumors member

    Joined:
    Feb 20, 2011
    #4
    Basically, if I coded an app with Xcode 3 I would be fine? I remember around the time ios 5 came out I opened doodle jump and said "Not compatible with ios 5"
     
  5. cMacSW macrumors regular

    Joined:
    Mar 20, 2006
    #5
    If you use xcode 3 then the latest target that you can support is iOS4.3. Apps
    built with this may run on iOS5 provided they are not using any deprecated features.

    You will find though that you can not test on a device running any iOS later than 4.3
     
  6. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #6
    You can't debug apps on any iOS later than 4.3. You could still test apps by using Ad Hoc over-the-air or iTunes deployment.
     
  7. cMacSW macrumors regular

    Joined:
    Mar 20, 2006
    #7
    Yes Thanks for the clarification.
     

Share This Page