Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 642
Ross Knipe Avatar asked Oct 19 '22 01:10

Ross Knipe


1 Answers

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.

like image 57
Ross Knipe Avatar answered Oct 20 '22 22:10

Ross Knipe