Building for iPhone 2.x and 3.0

Discussion in 'Public Game Developers Forum' started by addictiveiphoneapps, Jun 15, 2009.

  1. addictiveiphoneapps

    addictiveiphoneapps New Member

    Jun 15, 2009
    Hi developers,

    I'm building apps for the iPhone. I upgraded to the 3.0 SDK. If I want to support both 2.x and 3.0 iPhone OS, should I build my apps for the iPhone Device 2.0?

    I assume that if I build for "iPhone Device 2.0", then it should run on both iPhone OS 2.x and 3.0. Is this correct? Or do you need to compile TWICE (for Device 2.0 and Device 3.0) ?

    I've noticed that if I build for iPhone Simulator 2.0 and then try to run it in the 3.0 Simulator, my app doesn't load properly.

    Any tips out there?

  2. Little White Bear Studios

    Little White Bear Studios Well-Known Member
    Patreon Silver

    Aug 27, 2008
    You should build using the lowest OS you're supporting. But you also need to test on any newer OS. So in your case, build for whatever version of 2.x you require, but test that build on a 2.x and 3.0 device.

    And I wouldn't trust the simulator for any kind of compliance testing.
  3. Diablohead

    Diablohead Well-Known Member

    Jan 19, 2009
    Freelancer, PC game developer
    The simulator is rather pointless imo, handy at first but as you dive deeper into development just make a build and stick it on your devices.

Share This Page