How to Fix iOS 10 Permission Crash Errors

October 08, 2016

I've been developing an app that requires access to the user's microphone.

2016 10 08

The app worked fine on iOS 9, but after upgrading to iOS 10, it started crashing. The error message displayed in the terminal reads as follows:

> 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.
> (lldb)

To resolve this issue, edit the Info.plist file as source code and add the following lines:

    <string>Provide a description explaining why your app needs microphone access.</string>

Additionally, if your app needs access to the user's camera, add the following:

    <string>Provide a description explaining why your app needs camera access.</string>

If your app requires access to the user's contacts, add this:

    <string>This app requires access to your contacts.</string>

Happy coding!

Profile picture

Victor Leung, who blog about business, technology and personal development. Happy to connect on LinkedIn