Skip to content

Missing API declaration: NSPrivacyAccessedAPICategoryDiskSpace #406

Closed
@andrei200287

Description

@andrei200287

I received an error email from Apple:

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. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

Reproducing the issue

Just import DeviceKit (SPM) and submit the build for Apple's review. After 3 minutes, you will receive this email.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions