Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-60430

QMAKE_IOS_TARGETED_DEVICE_FAMILY no longer getting translated into proper Xcode project setting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • 5.9.2
    • 5.8.0
    • Build tools: qmake
    • None
    • iOS, iPad
    • iOS/tvOS/watchOS
    • 3c89c71da5f00ada18d9405abddb5812dc4278ea

    Description

      We are writing an iPad-only app (i.e. not a Universal app), and are setting "QMAKE_IOS_TARGETED_DEVICE_FAMILY = 2" accordingly in our .pro file.

      This should end up getting translated into a "TARGETED_DEVICE_FAMILY = 2;" entry in our Xcode "project.pbxproj" file. Until recently, this worked, but with Qt 5.8.0 and Xcode 8.3.2, we end up with "TARGETED_DEVICE_FAMILY = 1,2;" in that file--which indicates a Universal app supporting iPhone and iPad.

      As a result, Apple has rejected our most-recent App Store update submission (since we don't include iPhone assets, for obvious reasons).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            jroersma John Roersma
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes