DiabetesCompass / Diabetes_Compass

iOS code for type 1 diabetes management
MIT License
4 stars 0 forks source link

crashes with barcode scanner when deployed on iPhone SE #26

Closed calferness closed 7 years ago

calferness commented 7 years ago

crashes uniformly when in food added screen and barcode scanner is called. Of course, this wouldn't show up in simulator.

beepscore commented 7 years ago

Fixed in git commit ab6329d Fix barcode scanner crash. In BGCompass-Info.plist add NSCameraUsageDescription.

“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.”

http://useyourloaf.com/blog/privacy-settings-in-ios-10/ http://stackoverflow.com/questions/39851867/app-crashes-even-though-i-added-nscamerausagedescription-in-info-plist-using-io http://stackoverflow.com/questions/39465687/nscamerausagedescription-in-ios-10-0-runtime-crash