mac os camera permissions developer code example
Example: info.plist camera permission
<key>NSCameraUsageDescription</key>
<string>camera description.</string>
<key>NSCameraUsageDescription</key>
<string>camera description.</string>