0

My app crashed when I try to open video camera. It is fine when it opens the camera, but when I switch from image to video I get this error:

[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 NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.

I find this weird because I have added the permission in my plist file.

enter image description here

<key>NSCameraUsageDescription</key>
<string>Camera is used to make pictures when creating a job</string>
Oya
  • 833
  • 1
  • 8
  • 21

1 Answers1

1

In your .plist add this key: Privacy - Microphone Usage Description and your desired value.

enter image description here

Bhavin Ramani
  • 3,221
  • 5
  • 30
  • 41