if you add nscamerausage (or something similar) to the plist it should work. it’s a camera permissions thing similar to iOS, where the app needs get approval. You add a string like “we need access to the camera for this app” and when the software launches the app asks you for permission the first time.
one note is that I’ve found on older Xcode (such as 9.4.1) if you add this plist it doesn’t work when you run from within Xcode but it does when you double click the app. in your case, you can probably modify the plist without rebuild anything in order to get camera permissions.