I’m building a gui application with JUCE and am having trouble with the camera entitlement on OSX. I have two exporters, one for XCode and one for CLion. I personally don’t like XCode and try to use CLion. But the CLion project now crashes when I try to open the camera with OpenCV. When I compile and start with XCode on the other hand, the app asks for camera permission and than runs just fine. How can I solve this, it seems to be a problem with the CMake exporter.
I have set “Use Hardened Runtime” in Projucer and selected Camera as a Hardened Runtime Option.