Camera entitlement
A Boolean value that indicates whether the app may interact with the built-in and external cameras, and capture movies and still images.
Discussion
To add this entitlement to your app, first enable the App Sandbox or Hardened Runtime capability in Xcode, and then select Camera.
In macOS 10.14 and later, the user must explicitly grant permission for each app to access cameras. See Requesting Authorization for Media Capture on macOS.