boop boop - 25 days ago 9
iOS Question

NSPhotoLibraryUsageDescription supplied in info.plist but apple still asks for one

In my first upload from Xcode 8 to iTunes Store I received the following message from Apple


This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.


I researched and then added the following entries to my info.plist

enter image description here

I then uploaded a new build to the iTunes store but have received the same warning email again.

What am I doing wrong?

EDIT

I've added the Media Library Usage description (as suggested by Dan Clark below)

enter image description here

but apple have again rejected the build and replied with the exact same warning email.

Answer

well, it turns out that the info.plist that I was editing in Xcode's left file list was not the plist that Xcode was referencing under identities. It was referencing an info.plist from a backup folder.

So there was never a problem with the usage description keys.

Comments