Submitting an app which is not built against latest SDK

Discussion in 'iOS Programming' started by ultrared, May 7, 2015.

  1. ultrared macrumors newbie

    Joined:
    Nov 12, 2014
    #1
    Is it okay to submit an app to review process which is not built against latest available SDK (8.3) i.e 8.2 or 8.1 ?

    I know it is recommended to build an app against latest SDK, but is this "a must" or it is optional ?
     
  2. ultrared thread starter macrumors newbie

    Joined:
    Nov 12, 2014
    #3
    @DannyBres Thanks for your reply...

    But if an app is built against 8.1 or 8.2, does that restrict us running it on 8.3 devices ?
     
  3. DannyBres macrumors 65816

    DannyBres

    Joined:
    Oct 30, 2007
    Location:
    UK
    #4
    Nope in Xcode you set a SDK to build against and a base SDK for support.

    It is up to you to ensure that the app works on all supported OS versions.

    If you build against 8.3 and support 8.0 and a new API was added in 8.3, you will need to check if that objects reponds to the new method programatically and only call it when supported.
     
  4. bjet767 macrumors 6502a

    Joined:
    Oct 2, 2010
    #5
    Not sure of what is really being asked.

    Currently XCode will build for iOS 7.1 and up.

    Apple will accept 7.1 builds, but you will have to provide additional launch screen support for 7 as well as 8.

    Follow Apple's app submission guide.
     
  5. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #6
    This is incorrect, iTC will no longer accept submissions of new iOS apps that were built with anything older than the iOS 8.0 SDK. See Apple's own news: https://developer.apple.com/news/?id=01192015a

    You can set the Deployment target as low as iOS 5.1.1, but those builds are hard to test, and there are no current release Simulators for below iOS 7.0.

    You should always test apps on actual iOS devices both with the latest release (currently 8.3), and your app's lowest Deployment target, even when building with 8.1 or 8.2.
     
  6. bjet767 macrumors 6502a

    Joined:
    Oct 2, 2010
    #7
    firewood

    You are incorrect, I just finished an app to run on 7.1 and it was accepted. However, it was built with the 8 sdk, but that wasn't the question or my statement.

    7.1 apps can still be submitted and there is a 7.1 simulator on XCode.

    Here's my XCode build: Version 6.3.1 (6D1002) and I have the 7.1 , 8.1 and 8.3 sim loaded.

    Oh and I had to provide a 7.1 launch screen to make it acceptable.

    The real question should be this, why would anyone not want to build from the latest SDK?
     
  7. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #8
    If it was built with the iOS 8 SDK, then it was an iOS 8 app (even if the Deployment Target was as low as 6.1). The fact that it happened to run on a 7.1 device is just due to the Deployment Target settings and your extra testing. With care you can even get an app to run on an iOS 5.1.1 device and get approved. But new apps built with the 7.1 SDK or lower are no longer accepted. Only iOS 8 apps.
     
  8. bjet767 macrumors 6502a

    Joined:
    Oct 2, 2010
    #9
    Firewood:

    You don't get my point and obviously are proving yours.

    The thread is about which SDK to build on and the drift is building apps for lower targets. I purposely targeted 7.1 as my lowest because many of the users are using a corporate iPad 2nd gen and are instructed not to upgrade to iOS 8. But I have versions up to 8.3, the current covered.

    SDK changes are often both improvement of the underlying code and depreciation older methods and support. But you knew that.

    The bottom line is always build from the latest SDK but target the iOS version the developer wants the app to run on.
     

Share This Page