Skip to content

Conversation

@wanderingstan
Copy link

An error is generated without them.

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.
Added `NSCameraUsageDescription` and `NSMicrophoneUsageDescription`
@hzhou81
Copy link

hzhou81 commented Jul 10, 2017

Most open source project on GitHub doesn't contain privacy settings in info.plist.

@wanderingstan
Copy link
Author

I think it's because only with iOS 10 that an app will crash without it. Other projects have been updating, e.g. see:
https://github.com/Affectiva/ios-sdk-samples/pull/3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants