Microphone Permissions on Macos

Hi!

My team and I have had a persisting issue where we have been trying to grant our app microphone permissions on Macos. It seems these permissions are not going through (our permissions show up as not-determined on the back end).

Here is our configuration set up.

macos/add-permission:
bundle-id: <app bundle id
permission-type: “kTCCServiceMicrophone”
- macos/list-permissions

On CircleCI when we list permissions, the Microphone permission for our app shows up with an auth value of 2. However, when we run our tests, they fail and our backend tells us the permissions aren’t being granted properly. We are using the following orb:

macos: circleci/macos@2.2.0

Has anyone ran into this problem before? My team and I would really appreciate some advice.

Thank you!

Hello

Our macOS machines are run headless so although the permission for the microphone has been granted there is no microphone that can be accessed. This in turn could cause the issue you are seeing.

We would recommend taking a look at this thread from the apple developers forum as it has a few recommendations for your specific scenario linked here.

Kind Regards
Owen Oliver