Error in console [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.
Asked
Active
Viewed 1,511 times
1
-
[http://stackoverflow.com/questions/39428916/uiimagepickercontroller-in-swift-3/39429884#39429884](http://stackoverflow.com/questions/39428916/uiimagepickercontroller-in-swift-3/39429884#39429884) – Ketan Parmar Sep 15 '16 at 05:47
-
It's shocking that Apple gets away with stuff like this. Last week, my iPhone app worked, this week (following an iOS upgrade), it crashes completely when a user tries to take a photo. No error... no suggestion of what happened, just an angry user. They are seriously the most developer-unfriendly company I've dealt with since Palm.... – Mike Gledhill Jul 28 '17 at 13:32
1 Answers
3
I Solved This issue:- Go to info.plist - Your Xcode bundle Click the "+" and go down the resulting list until you see "Privacy - Camera Usage Description". Add this item to by clicking it inside that list.
Format ..-Info.Plist Key :- Privacy - Camera Usage Description Type :- string Value :- empty - Don't enter anything
Just clean xcode project and run it ... it's worked for me.

Abdul Nasir B A
- 1,077
- 2
- 8
- 25