Xcode: Missing Info.plist Key for NSCameraUsageDescription

After adding GPUImageto my project, Xcodemy application was denied Miss Info.plistfor NSCameraUsageDescription.

Missing key Info.plist- this application is trying to access confidential data information without a description of use. The application Info.plistshould contain NSCameraUsageDescriptiona string value explaining how the application uses this data.

I added the key and description to my plist in several different ways, and more than 10 collectors got the same failure error.

Here is mine Info.plistwith a camera use key below.

Snap of my info.plist

Any ideas on why I still deny it when I clearly defined this in my plist?

+4
source share
9 answers

To use the camera in the application, you need to specify a specific and correct description . One of my applications is rejected due to an incorrect description. Therefore, try with the correct description, perhaps this will help you.

<key>Privacy - Camera Usage Description</key>
<string>APPNAME requires access to your phone’s camera.</string>
+4
source

You must enter the purpose of using the camera as a description. If this does not give the target application, it will be rejected.

you should add something like the application needs to access the camera to get a profile picture or . The application requires access to the camera to download product images

From an apple: Check this link.

, iOS, iOS 10.0 , , . NSCameraUsageDescription Info.plist . , .

+4

GPUImage , , .

<key>NSCameraUsageDescription</key>
    <string>Need to access your camera to capture a picture and record a video.</string>
    <key>NSMicrophoneUsageDescription</key>
    <string>Need to access your microphone to record a video.</string>
+1

, , .

:

, .

- :

0

Plist.

<key>NSCameraUsageDescription</key>
<string>Access camera</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Library</string>
0
0

, OP. , , , , . .

"AppName , ".

0

, , ... . :

  • Xcode plist.info. !!!!

  • CREATE , +.

  • ( ... , )

enter image description here

enter image description here

0

- ,

NSCameraUsageDescription

0

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


All Articles