Xcode: Missing Info.plist key for NSCameraUsageDescription

Chris picture Chris · Jun 22, 2017 · Viewed 55.7k times · Source

After adding GPUImage to my Xcode project, my app is getting denied for Missing an Info.plist key for NSCameraUsageDescription.

Missing Info.plist key - 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 have added the key and description to my plist in several different ways and over 10 builds have all gotten the same denial error.

Here is my info.plist with the Camera Usage key at the bottom.

Snap of my info.plist

Any ideas on why I still get denied when I clearly have this defined in my plist?

Answer

Nirmalsinh picture Nirmalsinh · Jun 22, 2017

You need to put a particular and proper description to use Camera in your application. One my application is denied due to improper description. So try with a proper description, maybe it will help you.

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