Uploaded image for project: 'Realm Cocoa SDK'
  1. Realm Cocoa SDK
  2. RCOCOA-2328

Privacy warnings whilst using Realm swift from Apple

      How frequently does the bug occur?

      Always

      Description

      When using the Realm-Swift version 10.48.1 and submitting the build to Apple, it creates warning for missing declaration in the privacy manifest file.

      1. ITMS-91053: Missing API declaration - Your app’s code in the file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryDiskSpace
      2. ITMS-91053: Missing API declaration - Your app’s code in the file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryFileTimestamp

      It turns out Real Database is using statvfs and fstat which Apple might be picking up and sending us these warning. Are we able to add a privacy manifest for the RealmDatabase as well so that these warnings stop coming through? Thanks!

      Stacktrace & log output

      No response

      Can you reproduce the bug?

      Always

      Reproduction Steps

      1. Integrate Realm-Swift SDK to an app
      2. Submit build to apple for review

      Version

      10.48.1

      What Atlas Services are you using?

      Local Database only

      Are you using encryption?

      No

      Platform OS and version(s)

      iOS

      Build environment

      Xcode version: ...
      Dependency manager and version: ...

            Assignee:
            thomas.goyne@mongodb.com Thomas Goyne
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: