Info.plist Permission Strings
- Runs in your browser
- Nothing uploaded
- No sign-up
Tick what the app — or any SDK in it — asks for. The system writes the alert’s title with your app’s name; the purpose string is the message under it.
Check: Vague — it restates the permission. Say what the person gets.
Add-only access. Enough for an app that only saves images.
<key>NSCameraUsageDescription</key> <string>Take a photo of a receipt to attach it to an expense.</string> <key>NSMicrophoneUsageDescription</key> <string>This app needs access to the microphone.</string> <key>NSPhotoLibraryAddUsageDescription</key> <string>Save the images you edit to your photo library.</string> <key>NSLocationWhenInUseUsageDescription</key> <string>Show cafés near you and how far away each one is.</string>
Paste inside the top-level <dict> of the target’s Info.plist.
<key>NS…UsageDescription</key> <string>one specific sentence, under 4,000 bytes</string>
A checklist, not an audit: it cannot see which APIs your code or its SDKs call. App Review alone decides whether a string is specific enough.
Updated · DRISH LABS
How do you write an Info.plist purpose string that App Review accepts?
An Info.plist purpose string is the message iOS shows when an app asks for a protected resource such as the camera or location; the system writes the alert’s title with the app’s name. App Review asks that it clearly and completely describe the use, so write one complete sentence saying what the person gets by allowing it, such as “Take a photo of a receipt to add it to an expense”, not “This app needs camera access”.
How it works
- Tick each protected resource the app — or any SDK inside it — asks for. Pick the narrowest key that covers the use: add-only photo access instead of the whole library, write-only calendar access if the app only creates events, location when in use unless it truly works in the background.
- Write the purpose string for each. The system writes the alert’s title with your app’s name; the string is the message under it, and it should say what the person gets by allowing it, in one complete sentence. Each one starts from an example of the shape App Review accepts.
- Each string is checked against Apple’s requirements: not blank, under 4,000 bytes, and specific — vague wording like “needs access to work properly” is flagged, because App Review asks for strings that clearly and completely describe the use.
- Copy the result in the form your project uses: Info.plist XML, InfoPlist.strings for a localization, or the INFOPLIST_KEY_ build settings Xcode writes when the target has no Info.plist file. Keys that a choice depends on are added for you — Always location also needs the When-In-Use string, because that is the first prompt the person sees.
What a purpose string is
When an app first touches a protected resource, iOS shows an alert whose title it writes itself, naming the app, and whose message is the purpose string from the app’s Info.plist. If the key is missing, the access fails and the app may crash; App Store Connect rejects a build whose code references such an API without the key, with error ITMS-90683 — even when only a bundled SDK references it.
<key>NSCameraUsageDescription</key> <string>Scan a document to turn it into a PDF.</string>
When you need it
- Fixing ITMS-90683: missing purpose string
- The email names the key — often one an SDK needs rather than the app. Tick it, write a string that describes what that feature does for the person, and paste the key into Info.plist. Apple’s guidance is that you are responsible for every access, including an SDK’s.
- A rejection under guideline 5.1.1
- App Review rejects strings that do not say why: “This app needs camera access” states the obvious. Rewrite it around the person’s goal — “Take a photo of a receipt to add it to an expense” — and the checker here stops flagging it.
- Localizing the prompts
- The purpose string is shown in the person’s language only if it is localized. Copy the InfoPlist.strings output into each .lproj, or add the keys to InfoPlist.xcstrings, which Apple’s guide now recommends.
- Choosing between Always and When In Use
- Always location needs both keys and a reason that only background access satisfies. Most apps that think they need it — a run tracker, a delivery screen — work with When In Use, and the narrower ask is the one people grant.
- Supporting iOS 16 and iOS 17 together
- From iOS 17 calendars use full-access or write-only keys and reminders use a full-access key; an app that still supports iOS 16 also needs the older calendar and reminders keys as fallbacks. Tick “Supports iOS 16 or earlier” and they are added.
Questions
What is a purpose string?
The message in the alert iOS shows when an app asks for access to something protected, such as the camera or location. It is the value of a usage-description key in the app’s Info.plist, like NSCameraUsageDescription. The alert’s title is written by the system and names your app.
What makes App Review reject a purpose string?
Guideline 5.1.1(ii) asks that purpose strings “clearly and completely describe your use of the data”. Strings that only restate the permission (“needs your location”), say it is required to work, or give no reason are the common rejections. Say what the person gets and how the data is used.
What is ITMS-90683?
The App Store Connect error for a build whose code references an API that reads sensitive data, or has an entitlement allowing it, without the matching purpose string in Info.plist. It appears even if the reference is inside a third-party SDK you never call.
How long can a purpose string be?
Apple’s limit is under 4,000 bytes, but its guidance is typically one complete sentence. The alert has little room, and a short, specific sentence is both easier to read and more often granted.
Do I need both location keys?
For Always access, yes: NSLocationAlwaysAndWhenInUseUsageDescription for the background request, and NSLocationWhenInUseUsageDescription because the first prompt shows that string. An app that only uses location while open needs only the When-In-Use key.
Can I use a purpose string to explain tracking?
NSUserTrackingUsageDescription is the string for the App Tracking Transparency prompt, and the app crashes if it requests tracking authorization without it. Like the others it must describe the use honestly — and guideline 5.1.1(iv) forbids pressuring people into allowing it.
Is anything I type sent anywhere?
No. The keys and strings are written in the page as you type. Nothing is uploaded or stored.
Keep going
Privacy Manifest Generator
PrivacyInfo.xcprivacy from ticked boxes.
Free toolApp Store Keyword Optimizer
Strips words the name and subtitle already index.
Free toolApple App Site Association Generator
Builds and checks the AASA file behind Universal Links.
Free tool