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

Including QStandardPaths on iOS forces us to include unnecessary capabilities

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.5, 6.6
    • 6.4.2
    • Core: Other
    • None
    • iOS/tvOS/watchOS

    Description

      (Apologies, I'm sure I've picked the wrong component.)

      I use `QStandardPaths::AppDataLocation` and `QStandardPaths::TempLocation` in my app and no other parts of `QStandardPaths`.

      Back in Qt 5, I discovered that simply including `QStandardPaths` caused an App Store rejection, requiring me to add a bogus NSPhotoLibraryUsageDescription capability to my Info.plist.

      In Qt 6.4.2, I have just had another App Store rejection, this time requiring me to add a bogus NSCameraUsageDescription capability too.

      (Perhaps if I do this I will get further rejections; I don't know yet.)

       

      Adding capabilities that aren't used and cannot be justified to Apple risks further rejections. And doesn't make for good practice in any case.

       

      Please can QStandardPaths be 'fixed' so that the sensitive parts of the library do not get included unless they are being specifically used.

      As a poor fallback, please could the documentation give developers for iOS a full list of all capabilities they will need to include if using the library.

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            paulmasri Paul
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes