Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity 5.0 can't build for iOS 5?

Discussion in 'iOS and tvOS' started by Mark-Sweeney, Mar 5, 2015.

  1. Mark-Sweeney

    Mark-Sweeney

    Joined:
    Feb 21, 2010
    Posts:
    172
    I make a backup of an app I'm updating, opened it in Unity 5.0

    After getting some changes done, I built the project, but Xcode can't install it on an iPad one because it give me the error "#error please target iOS 6.0 or newer"

    Do I have to downgrade back to Unity 4.6 now for updating older apps now?
     
  2. DanielQuick

    DanielQuick

    Joined:
    Dec 31, 2010
    Posts:
    3,137
    The minimum target iOS version for Unity 5 is iOS 6.0. If you want to bulid your app for older versions you will need to keep using Unity 4.x
     
  3. Mark-Sweeney

    Mark-Sweeney

    Joined:
    Feb 21, 2010
    Posts:
    172
    Thanks for confirming. I didn't see anything that stated Unity 5.0 won't support iOS earlier than 6.0.
    If I had, I wouldn't have spent the last day updating this app on it.

    Having to keep two versions of Unity is going to be a pain.
     
  4. DanielQuick

    DanielQuick

    Joined:
    Dec 31, 2010
    Posts:
    3,137
    Just an FYI, according to Unity's stats (found here) users with less than iOS 6 total less than 1% of users.
     
  5. Mark-Sweeney

    Mark-Sweeney

    Joined:
    Feb 21, 2010
    Posts:
    172
    When you update an app, Apple requires you to support whatever iOS's it ran on was when you first sold it.

    A new app, I won't bother supporting iOS 6. But I have apps that have been selling since iOS 4.3. If I update them, I they still have to work on iOS's from 4.3 to 8.1.3.
     
  6. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    That's not true; I updated an app recently which probably originally ran on iOS 3 or 4, but now it requires iOS 6 or higher.

    --Eric
     
  7. DanielQuick

    DanielQuick

    Joined:
    Dec 31, 2010
    Posts:
    3,137
    Are you sure about that?

    https://developer.apple.com/library/ios/qa/qa1623/_index.html

     
  8. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    Edit: not relevant
     
  9. DanielQuick

    DanielQuick

    Joined:
    Dec 31, 2010
    Posts:
    3,137
    @Eric5h5 my reply was directed at @Mark Sweeney, after I saw you posted I edited my post to make this clearer.
     
  10. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    Oh, that makes more sense. :)

    --Eric
     
  11. Mark-Sweeney

    Mark-Sweeney

    Joined:
    Feb 21, 2010
    Posts:
    172
    On the same page:
    I've accidentally set the minimum iOS higher than 4.3, and had the app rejected by Apple - I've been told it has to support devices it originally sold on.

    It's a royal pain to keep testing updates on iPad 1 & iPod Touch 3
     
  12. bigdaddy

    bigdaddy

    Joined:
    May 24, 2011
    Posts:
    153
    Something's not right there because I have a number of apps by other companies that I can't upgrade because the upgrade doesn't support the old iOS version I'm running on some devices.
     
  13. DanielQuick

    DanielQuick

    Joined:
    Dec 31, 2010
    Posts:
    3,137
    You should finish the rest of that quote...
    If a user is not running a current version of iOS, they are not required to be supported.

    EDIT: More info:
     
  14. Mark-Sweeney

    Mark-Sweeney

    Joined:
    Feb 21, 2010
    Posts:
    172
    I've emailed Apple support. I'd love to drop support for anything prior to iOS 6. Do one final round of updates that do support earlier, then only support iOS 6 and above with future updates.

    A number of headaches would be gone. ;)