Question to the apple makers, now we are switching to iOS apps. Looked at the existing versions of XCode, in fact, many are supported only by the latest versions of macos. I have two questions right away.

  1. Is the version of Xcode important when coding? Or here is a case like in android: if we want support for all devices, we write under the lowest version (in android we write under 1.5, we get support for everyone), how are things going?
  2. We want to buy iMac, there seems to be a snow leopard 10.6, it almost did not work with MacOS, is there any way to update the system to the latest version, like under iOS 5, Lion is needed.

    2 answers 2

    1. The coding version of Xcode is not important, Xcode is just an IDE, just like Eclipse, but XCode 4 has many important and useful features that make life a lot easier.
    2. The SDK version (what you compared to android) is important. If you write for version 4.x, respectively, some API on devices with firmware 3.x will not work, but since the devices from the epl, unlike the android, are self-renewing, then the problems with this are much less, because almost everyone has the latest firmware, the exception is the old devices: iPhone 1 / 2G, because they cannot be upgraded to version 4.x, and in the fall comes iOS 5, which also will not support iPhone 3G.
    3. The ability to update the system is, of course, I don’t know for sure, you will need to update MacOS to Lion to support iOS5, but even so, you simply buy (download from torrent) a disk with MacOS Lion and put it on your iMac and that's it.
    • 2.2. The application must work on the latest version of iOS - AlexDenisov

    About support for different versions of iOS:
    in general, it is advised to always use the latest version of the SDK, but at the same time (to support older devices) install Deployment Target on iOS 3.x.
    In this case, of course, it will be necessary every time when using any suspicious feature to check whether its device supports or not. Here it is told how to do it.