iPhone SDK - 2.1

Discussion in 'iOS Programming' started by DeSelby, Sep 12, 2008.

  1. DeSelby macrumors newbie

    Sep 12, 2008
    I just installed the iPhone 2.1 OS on my 3G device, but am still using the 2.0 SDK. I can no longer build and run my app through XCode - "failed to start remote debugserver on . . . ".

    So I'm thinking that I will probably have to upgrade my SDK to 2.1.

    According to the iPhone DevCenter, the 2.1 SDK requires that any devices for testing must be on the 2.1 OS.

    My questions are:

    1. Does this mean that any apps built using the 2.1 SDK can only be run on 2.1 devices once they are posted to the AppStore? Or is there any kind of backwards compatibility?
    2. There used to be a notice saying that apps built using the beta 2.1 SDKs could not be posted to the AppStore. I don't see that notice any more, but has anyone seen any positive indications that 2.1 builds can be posted?
  2. fenrus110 macrumors regular

    Mar 24, 2008
    2.1 code will not work on 2.0 device. But you have the option to compile in either modes.
  3. Ron C macrumors member

    Jul 18, 2008
    The 2.1 upgrade is free, right?

    I'm only a little confused about your concerns.

    The 2.1 update has been officially released by Apple for both iPod touch and iPhone, and iTunes (7 & 8 both) will be quite insistent in reminding you that you have an update to download and install.

    Is there some issue with 2.1 that you're concerned about (other than some people not having it)? Is there a good reason for me to build for 2.0 instead of 2.1? The only thing that jumps out at me is if people do not want to "upgrade" to iTunes 8, as iPhone OS 2.1 requires iTunes 8.

    Ron C
  4. kainjow Moderator emeritus


    Jun 15, 2000
    It looks like 2.1 allows you to force audio to play through the speaker now, if I'm reading correctly. In addition you can get the volume level, and determine if audio is being played.
  5. steve1717 macrumors newbie

    Jul 18, 2007
    I agree

    I am quite confused right now as well about which OS to compile for. I have the 2.1 SDK which compiles the Release mode for 2.0 just fine on my 2.0 device. However, when I try to compile Release mode for 2.0 OR 2.1 on my device running the latest developer 2.1 build (5F116), I get the "Failed to start remote debugserver..." error.

    I am guessing that to submit an app today that doesn't use any of the new functionality of 2.1, it would be best to just build for 2.0. Do you guys concur with that logic?
  6. DeSelby thread starter macrumors newbie

    Sep 12, 2008
    Building for 2.1 or 2.0

    Normally, I would agree with this. However, (according to Apple) 2.1 includes a lot of bug fixes and enhanced stability. iTunes is going to nag users until they upgrade. The early reports are that the upgrade is notably painless (which was my experience as well).

    So, I'm moving to an OS 2.1 target.
  7. steve1717 macrumors newbie

    Jul 18, 2007
    This is true but just because you compile for 2.0 doesn't mean that those bug fixes and upgrades won't hold true when running a 2.0 build on OS 2.1 The one thing we do know is that 2.1 builds won't run on 2.0. I think the smart idea is to build for 2.0 since we can't bank on all users upgrading before downloading your 2.1-built app.
  8. admanimal macrumors 68040

    Apr 22, 2005
    Exactly. The bug fixes are in the 2.1 firmware, not the 2.1 SDK (not that there can't be some other bug fixes in the SDK too). All of the apps currently in the store were compiled for 2.0 and will take advantage of the new "features" of the 2.1 firmware, e.g. not crashing all the time. I would continue to compile for 2.0 for a while unless Apple tells us otherwise.
  9. jsnuff1 macrumors 6502a

    Oct 4, 2003
    Can someone confirm that any app compiled with the 2.1 SDK will not work on an iPhone and iPod touch without the 2.1 upgrade???

    If this is true I wont move to 2.1 SDK for a few weeks at least.

Share This Page