Hi
I have a Qt application written in C++ with Qt 5.14.1 on macOS Catalina. When I start the application from Qt Creator the application requests microphone access when recording is started. However, the installed application does not request. I have tried to reset permissions with
'tcutil reset Microphone'
but still I get the same behavior. The application bundle is signed with codesign
codesign --deep --strict --timestamp --force --verify --verbose \
--entitlements ./Entitlements.plist \
--sign "Developer ID Application: Emoshape Inc." \
--options runtime ./build/$APP_NAME.app
and the Entitlements.plist is
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.device.camera</key>
<true/>
<key>com.apple.security.device.microphone</key>
<true/>
<key>com.apple.security.device.usb</key>
<true/>
</dict>
</plist>
Also, Info.plist file has the following two entries
<key>NSCameraUsageDescription</key>
<string>The application wants to access the camera.</string>
<key>NSMicrophoneUsageDescription</key>
<string>The application wants to access the microphone.</string>
Can you tell me what I am missing ?
thanks
Bogdan