Info.plist
Add a new item
Privacy - Camera Usage Description
Value: "Used to scan barcodes"
Or as XML
<key>NSCameraUsageDescription</key>
<string>Used to scan barcodes</string>
http://useyourloaf.com/blog/privacy-settings-in-ios-10/
Photo Access
<key>NSPhotoLibraryUsageDescription</key>
<string>This app requires access to the photo library.</string>