Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding keys NSCameraUsageDescription and NSMicrophoneUsageDescription #131

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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.

None yet

2 participants