Oya
Oya

Reputation: 903

iOS10 app has crashed because it attempted to access privacy-sensitive data

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>

Upvotes: 0

Views: 489

Answers (1)

Bhavin Ramani
Bhavin Ramani

Reputation: 3219

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

enter image description here

Upvotes: 1

Related Questions