From f2158d6ca01e80ff822ba4cdbd391ad0133e21c8 Mon Sep 17 00:00:00 2001 From: Stan James Date: Mon, 24 Apr 2017 15:12:35 -0600 Subject: [PATCH 1/2] Added `NSCameraUsageDescription` as now required. Without this key, the following error is returned at runtime: 2017-04-24 15:09:24.660704-0600 LLSimpleCameraExample[233:5830] [access] This app has crashed because it attempted 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. --- LLSimpleCameraExample/Info.plist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LLSimpleCameraExample/Info.plist b/LLSimpleCameraExample/Info.plist index a7127c5..71328e6 100644 --- a/LLSimpleCameraExample/Info.plist +++ b/LLSimpleCameraExample/Info.plist @@ -2,6 +2,8 @@ + NSCameraUsageDescription + LLSimpleCameraExample needs to use the camera. CFBundleDevelopmentRegion en CFBundleExecutable From 9a0dbc09145b494f8d0f097d61259a826ba64aee Mon Sep 17 00:00:00 2001 From: Stan James Date: Mon, 24 Apr 2017 15:17:03 -0600 Subject: [PATCH 2/2] Update to Info.plist with required privacy keys Added `NSCameraUsageDescription` and `NSMicrophoneUsageDescription` --- LLSimpleCameraExample/Info.plist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LLSimpleCameraExample/Info.plist b/LLSimpleCameraExample/Info.plist index 71328e6..ac27734 100644 --- a/LLSimpleCameraExample/Info.plist +++ b/LLSimpleCameraExample/Info.plist @@ -4,6 +4,8 @@ NSCameraUsageDescription LLSimpleCameraExample needs to use the camera. + NSMicrophoneUsageDescription + LLSimpleCameraExample needs to use the microphone. CFBundleDevelopmentRegion en CFBundleExecutable