iOS 10 Adaption Security Crash

There are some changes in iOS 10 to getting access to privacy-sensitive data like microphone, camera, contacts, etc. In other words if the app must ask for authorization, you will get the crash. Like this:

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.

For fixing it, you need to add this key to Info.plist.

<key>NSMicrophoneUsageDescription</key>
<string></string>

And provide description or just empty string.

The list of possible keys:

Photo Library:
NSPhotoLibraryUsageDescription
Camera:
NSCameraUsageDescription
Microphone:
NSMicrophoneUsageDescription
Location:
NSLocationUsageDescription
Location When In Use:
NSLocationWhenInUseUsageDescription
Location Always:
NSLocationAlwaysUsageDescription
Calendars:
NSCalendarsUsageDescription
Reminders:
NSRemindersUsageDescription
Motion:
NSMotionUsageDescription
Health Update:
NSHealthUpdateUsageDescription
Health Share:
NSHealthShareUsageDescription
Bluetooth Peripheral:
NSBluetoothPeripheralUsageDescription
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.