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

When I first downloaded from Xcode 8 to the iTunes Store, I received the following message from Apple

This application attempts to access sensitive data without a description of use. The application Info.plist must contain the NSPhotoLibraryUsageDescription key with a string value that tells the user how the application uses this data.

This application attempts to access sensitive data without a description of use. The application's Info.plist must contain the NSCameraUsageDescription key with a string value that tells the user how the application uses this data.

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

enter image description here

Then I uploaded the new assembly to the iTunes store, but again received the same warning.

What am I doing wrong?

EDIT

I added a description of the use of the multimedia library (as suggested by Dan Clark below)

enter image description here

but Apple again rejected the assembly and responded with the same warning.

+5
source share
4 answers

Well, it turns out that info.plist, which I edited in the Xcode left-line file list, was not the plist that Xcode referenced under ids. He referred to info.plist from the backup folder.

Thus, there were never any problems with usage description keys.

+3
source

There is also a record of the library usage description that you need to add to PList.

0

" " .

"info.plist"

"TrackerTest/info.plist

""

iOS.

, " - ", .

0

, info.plist , info.plist(Test, UITest...)

0

Source: https://habr.com/ru/post/1654873/


All Articles