Appraysal
Back to Rules
WARNINGLikelyGuideline 5.1.1iOSPrivacy

Required Reason API Usage

Apps using certain system APIs must declare approved reasons in the Privacy Manifest (PrivacyInfo.xcprivacy).

Quick Fix

Create a PrivacyInfo.xcprivacy file and declare the specific reasons for using these APIs under NSPrivacyAccessedAPITypes. Each API category requires an approved reason from Apple's documentation.

What Gets Detected

Detection Type:CODE PATTERN
Triggers (any of these):
NSFileCreationDateNSFileModificationDateNSURLCreationDateKeyNSURLContentModificationDateKeycreationDatemodificationDatesystemUptimemach_absolute_timeProcessInfo.processInfo.systemUptimevolumeAvailableCapacityKeyvolumeAvailableCapacityForImportantUsageKeyvolumeTotalCapacityKeystatfsstatvfsfstatfsgetattrlistActiveInputModesUserDefaults.standardNSUserDefaults
Required if triggered (any of these fixes it):
PrivacyInfo.xcprivacyNSPrivacyAccessedAPITypesNSPrivacyAccessedAPIType

Check Your App

Scan your project to see if this rule affects your app

Run Free Scan