NSCameraUsageDescription needed for C++ projects in Xcode for MacOS Mojave
Found a solution. Put the file with the desired NSCameraUsageDescription, NSMicrophoneUsageDescription (or others) with the assembled file from XCode (See screen shots below). For the Release and Debug versions.
You can even automate the steps described by @Valery Gromov. Just copy the file in the Build Phases. Uncheck the Copy only when installing
checkbox to be able to run it directly from Xcode.