Unsolved Application using microphone on macOS does not request microphone access
-
Hi
I have an application written with Qt 5.14.1 on macOS 10.15 that uses the microphone to record sound. Without signing the application, the microphone access is requested when the recording is started.
However, after signing the application with
codesign --strict --timestamp --force --verify --verbose \ --entitlements ./Entitlements.plist \ --sign "..." \ --options runtime ./build/$APP_NAME.app \ --deep
the microphone access is not requested anymore. Removing --deep option seems to solve this problem, but the application does not pass the signing test:
codesign --verify --verbose=4 --deep --strict ./build/$APP_NAME.app
and the application cannot be notarised (this is now mandatory for applications distributed outside Mac App Store).
Does anyone know how to solve this problem ?
thank you
Bogdan -
Hi,
Did you trying signing it using macdeployqt ?
-
macdeploy doesn't have support for notarisation, after using -codesign option with macdeploy, the notarisation process fails with the error:
"The executable does not have the hardened runtime enabled.",