PTKDMobile App Security
Knowledge base / PTKD-REVIEW-PURPOSE-STRINGS
high M6 MASVS-PRIVACY-1 static analysis PTKD-REVIEW-PURPOSE-STRINGS

Permission used without a purpose string

The binary links an API that needs a usage description in Info.plist, but the key is missing or empty. App Store Connect usually refuses the upload (ITMS-90683); otherwise the app crashes or the API fails when first used, which App Review reports under 2.1.

How it's exploited

iOS refuses to show a permission prompt without a usage description in Info.plist. App Store Connect usually rejects the upload with ITMS-90683; if it slips through, the app crashes or the feature silently fails the first time the API is called, which App Review reports under Guideline 2.1.

Why it matters

A refused upload or a rejection, and users who never see why the app wants their camera, location or contacts.

How to fix it

  1. Add the Info.plist key named in the finding.
  2. Write one sentence that says what the app does with the data, for example: 'Your camera is used to scan the receipts you add to an expense.'
  3. If an SDK links the API but you never call it, still add an honest description or remove that part of the SDK.
Info.plist
<key>NSCameraUsageDescription</key>
<string>Your camera is used to scan the receipts you add to an expense.</string>

References