NSPhotoLibraryUsageDescription: Fix ITMS-90683
NSPhotoLibraryUsageDescription is the Info.plist key that holds the sentence iOS shows when an app asks to read the person’s photo library, and ITMS-90683 is the App Store Connect email that tells you the key is missing from the build you just uploaded. The fix is to add the key with one accurate sentence, or to remove whatever code references the photo APIs. If your own screens never touch photos, the usual culprit is a third party SDK inside the app.

I wrote this for the person who owns a shipping app, often one inherited from a previous developer or agency, and who just got a rejection email naming a photo key they have never heard of. RapidLabs works on exactly this kind of inherited-app release problem, so the steps follow the order we’d check things in.
What does ITMS-90683 actually mean?
ITMS-90683 means App Store Connect scanned your uploaded binary, found code that references an API protected by a privacy permission, and didn’t find the matching purpose string in your Info.plist. Apple’s own wording in the email says your app’s code references one or more APIs that access sensitive user data, and that the Info.plist should contain a key such as NSPhotoLibraryUsageDescription with a user-facing purpose string explaining clearly and completely why the app needs the data.

The scan is static, so it reads the compiled code and never asks whether a user could reach a screen that opens the library. The email also the email names the specific key that is missing, and one build can carry several of these messages at once, for example one for the photo library and one for the camera. Read every line of the email before you edit anything, because fixing only the first key and uploading again just buys you a second email.
Apple’s documentation on requesting access to protected resources says App Review checks for the use of protected resources and rejects apps that contain code accessing those resources without a purpose string. That page also says that without a valid purpose string, attempts to access the resource fail and might cause your app to crash. So the same missing key can show up in two places: as an upload email, and as a crash on a device the first time something reaches for the library.
Which photo key does your app need?
You need NSPhotoLibraryUsageDescription if your app reads from the photo library, NSPhotoLibraryAddUsageDescription if it only saves to it, and neither if it uses the system Photos picker and nothing else touches the library. Apple’s documentation for the main key says it is required if your app uses APIs that have read or write access to the user’s photo library, and points to the add-only key for apps that don’t read assets.

With the picker you can skip the permission request entirely. Apple’s Photos picker sample says apps don’t need to request photo library permission when using PHPickerViewController, and that displaying the picker doesn’t need permission because it runs in a separate process. It also says an app that is only setting a basic profile photo doesn’t need photo library permission, while a camera app, a photo editor or a library browser needs far more of the Photos framework.
If you let people choose a picture for an avatar or an attachment, the picker is the right tool and the permission prompt disappears from your user flow. If you show a custom grid of the whole library, run a background sync of new photos, or edit assets in place, you need read access and the main key. If the only thing you do is save an image the person just created, the add-only key and its lower permission level fit.
| Key | Use it when | What Apple says |
|---|---|---|
| NSPhotoLibraryUsageDescription | Your app reads from the photo library | Required if your app uses APIs with read or write access to the library |
| NSPhotoLibraryAddUsageDescription | Your app only saves photos or videos | Required if your app uses APIs with write access to the library |
| NSCameraUsageDescription | Your app captures photos or video with the camera | Required if your app uses APIs that access the device’s camera |
Camera access is a separate permission with a separate key, so a photo feature that offers both “Take photo” and “Choose from library” needs two purpose strings. When ITMS-90683 arrives for one of them, check the other before you upload again, since the same SDK often references both.
How do you find the SDK that triggers the email?
You find it by searching the compiled app for the photo API names and seeing which binary contains them. Apple’s documentation says that if you use external libraries or SDKs, they may reference APIs that require a purpose string, and that although your app might not use those APIs, a purpose string is still necessary for App Review. Apple also says you can contact the SDK’s developer to ask which protected resources it uses, or ask for a version of the code that doesn’t contain the APIs.

A practical way to do this is to export or archive the build, open the app bundle, and run the strings tool against the main executable and against each binary inside the Frameworks folder, looking for PHPhotoLibrary, PHAsset and the other Photos class names. Statically linked packages end up inside the main executable, so check that first, and frameworks loaded at runtime get their own binary, so check each of them in turn. The binary that matches tells you which dependency to look at, and its documentation or changelog usually says why the reference is there. I haven’t run this against your app, so confirm a match in the dependency’s source or release notes before you blame it.
Once you know the culprit, you have three options. You can keep the SDK, add the purpose string, and accept that the permission only prompts if the feature is ever used. You can update the SDK to a newer version that dropped the reference, which is often the cleanest outcome when the package is old. Or you can remove the dependency, which makes sense when the feature behind it was abandoned years ago and nobody on the team can say why it’s still there.
If you keep the SDK, take care with the wording, because a purpose string that describes a feature your app doesn’t have is a misleading statement, and Apple asks for accuracy, so write the string for the real behavior of that SDK as described by its own documentation. If the SDK only uses the library when a person taps “Attach image” in a support widget, say exactly that.
What should the purpose string say?
It should say, in one complete sentence, what the person gets in exchange for the access. Apple’s documentation says to explain accurately and concisely why your app needs access, typically in one complete sentence, and that the description has to be accurate and specific. A string like “Your photos let you attach pictures to a support request” does that, because it names the feature and the benefit.
Apple lists the validity rules that apply to every purpose string, including localized ones. The string can’t be blank or whitespace only, it has to be shorter than 4,000 bytes, and it has to be the type that the key requires, which is normally a string. Those rules explain a class of rejections where the key exists but holds an empty value, which can happen when a build script or a config template writes a placeholder and nobody checks the output.
- “This app needs access to your photos” says nothing about why, so a reviewer has no way to judge it.
- “Choose a profile picture from your library” names the feature and is the right shape for a picker-style feature.
- “Save receipts you scan to your photo library” fits an add-only key, and it would be wrong under the read key.
If your app supports several languages, localize the string for each one. Apple’s documentation describes creating a string catalog for the usage descriptions and adding translations to it, and says the same validity rules apply to every localized string.
How do you add the key in Xcode, React Native, Flutter and Expo?
In a native iOS project you add it in the target’s Signing and Capabilities editor or directly in Info.plist, and in cross-platform projects you add it to the native iOS project or to the config the toolchain generates it from. Apple’s documentation describes the Xcode route: you choose the protected resource, enter the purpose string, and Xcode writes a build setting that becomes the Info.plist value.
For Flutter, the image_picker package’s README says to add NSPhotoLibraryUsageDescription to ios/Runner/Info.plist, and it notes that this permission won’t be requested if you always pass false for requestFullMetadata, but that App Store policy requires the plist entry anyway. It lists NSCameraUsageDescription and NSMicrophoneUsageDescription in the same block.
For Expo, the expo-image-picker documentation describes a config plugin option called photosPermission that sets the NSPhotoLibraryUsageDescription message. For projects that don’t use continuous native generation, it says to add NSPhotoLibraryUsageDescription, NSCameraUsageDescription and NSMicrophoneUsageDescription directly to ios/[app]/Info.plist. On an inherited project the plist in the repository may be generated or overwritten at build time, so an edit made in the wrong place disappears on the next prebuild.
For any stack, the check that counts runs on the built artifact. Archive the app, open the Info.plist inside the exported bundle, and confirm that each key you expect is present and holds a real sentence. A key that exists in a template but never reaches the bundle is one way a “fixed” build still gets rejected a second time.
What should you check on an inherited app before you upload again?
Check that every protected resource the binary references has a key with an honest sentence, and that nothing in the app collects data your store listing doesn’t mention. Photo access is rarely the only gap in an app nobody has audited, so use the rejection email as a reason to review the other permissions in one pass.
Start with the full set of usage description keys in the built Info.plist and compare it with the list of SDKs in the project. For each key, find the feature that justifies it, and for each SDK, find the permissions its documentation says it needs. Where a key has no feature behind it, the question is whether the SDK that triggered it should still be there. Where an SDK has no key, you have found the next rejection before App Review does.
Then look at the neighbouring requirements that a binary change tends to surface. Apple’s privacy manifest rules apply to many of the same third party SDKs, and our article on the iOS privacy manifest and ITMS-91061 covers that second check. If the SDK also collects data, your privacy nutrition label should describe it, and a rejection for a mismatch there is a different email with a different fix. For a wider look at the rejection reasons that cluster around a release, the App Store rejection reasons article lists the common ones and how teams resolve them.
When the app came from a previous developer, there’s usually a second problem: nobody knows which SDKs are still in use. A short review of the dependency list, the permissions each one needs and the last release date of each one is the kind of work that belongs in an app maintenance audit, and it is much cheaper to do before a release deadline than during one. If you’re taking over an app and haven’t yet found the signing keys, the repository and the store accounts, the app takeover checklist covers the order to do those in.
How do you make the fix stick across releases?
You make it stick by treating purpose strings as part of the release checklist. The email often comes back after a dependency update adds a reference to a protected API that nobody notices.
Read a dependency’s changelog for new permissions before you update it, and add a pipeline check that reads the built Info.plist and fails when an expected key is missing or empty, which turns a surprise from App Store Connect into a failed local build. Keep a short list in the repository that maps each usage description key to the feature and the SDK that needs it, so the next engineer doesn’t have to rediscover it.
Add the key with an accurate sentence and confirm it in the built bundle. Then decide whether the SDK behind it earns its place.
Frequently asked questions
What is NSPhotoLibraryUsageDescription?
It's an Info.plist key that holds the message iOS shows when your app asks to read the person's photo library. Apple describes it as a message that tells people why the app is requesting access to their photo library, and says the key is required if your app uses APIs that have read or write access to the library. In Xcode's visual editor it appears as Privacy - Photo Library Usage Description. Without the key, an upload can be rejected with ITMS-90683, and a build that reaches a device can fail at the moment the app touches the library.
Why does ITMS-90683 mention NSPhotoLibraryUsageDescription when my app never opens the photo library?
The check looks at the code in your binary, not at what your screens do. Apple's documentation says that if you use external libraries or SDKs, they may reference APIs that require a purpose string, and that you still need the string for App Review even if your app never calls those APIs. A chat widget, a media kit or an analytics package can carry a reference to the photo APIs and trigger the same email. Apple also says you're responsible for all access of protected resources, including access from external SDKs and libraries.
Do I need NSPhotoLibraryUsageDescription if I only save photos?
Probably not, because Apple provides a separate key for that case. NSPhotoLibraryAddUsageDescription covers apps that only add assets to the photo library, and Apple's documentation for the main key says to use the add-only key instead when your app doesn't read assets. Apple states that the add-only key is required if your app uses APIs that have write access to the library. If your app both saves and reads, you need the main key, and many teams add both to avoid a second rejection.
Do I need the key if I use PHPickerViewController?
Apple's Photos picker sample says apps don't need to request photo library permission when using the picker, because it runs in a separate process. That's the cleanest way to let people choose a photo for something like a profile picture. It doesn't automatically remove the key from your build, though, since another library in the app may still reference the photo APIs and trigger ITMS-90683 on its own. Check every framework before deciding the key can go.
What should the purpose string say?
Apple asks for a description that says accurately and specifically why the app needs the resource, typically in one complete sentence. A string such as Your photos let you attach pictures to support tickets is the right shape, because it names the feature and the reason. Blank strings, strings made only of whitespace and strings longer than 4,000 bytes aren't valid, and the same rules apply to every localized version of the string.
How do I add the key in a Flutter or Expo app?
In Flutter, the image_picker package README tells you to add NSPhotoLibraryUsageDescription to ios/Runner/Info.plist, and says App Store policy requires the entry even if you always pass false for requestFullMetadata. In Expo, the expo-image-picker config plugin has a photosPermission option that sets the NSPhotoLibraryUsageDescription message, and apps that manage the native ios project by hand add the key to Info.plist themselves. Either way, the key has to be present in the build you upload, so check the built Info.plist as well as the source.
Stuck on a release, a crash, or an app nobody owns?
RapidLabs maintains, stabilizes and takes over existing iOS and Android apps. Send the app link, the stack, and what is going wrong, and you will get a plain answer on whether you need help at all.
Talk to a senior engineer about your app