# No microphone access request

**URL:** <https://forum.juce.com/t/no-microphone-access-request/50562>\
**Category:** MacOSX and iOS\
**Created:** [March 11, 2022, 10:11pm UTC](https://forum.juce.com/t/no-microphone-access-request/50562 "2022-03-11T22:11:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jellebakker](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jellebakker/32/17053_2.png) [@jellebakker](https://forum.juce.com/u/jellebakker)\
**Post date:** [March 11, 2022, 10:11pm UTC](https://forum.juce.com/t/no-microphone-access-request/50562/1 "2022-03-11T22:11:39Z")

</div>

Hi,

A standalone plug-in I’m working on doesn’t receive any audio when I’m testing the app after signing, notarizing, installing. Everything works properly when I run my local xcode build but when I test the app from my CI (azure), then the app doesn’t receive any audio.

Also, the microphone access request dialog is not shown for the signed app, but it is shown for my local app.  
Strangely, when I run it from the terminal, I do get the request dialog and audio input works properly.  
So the issue seems to be related to that the request dialog is not shown.

I’m using juce 6.1.6 and I’m testing on mac os 11.6  
App sandbox setting in projucer is disabled.  
Microphone setting in projucer is enabled.  
The app is a universal build.  
The standalone app is generated by ticking the checkbox “standalone”

Does anyone have experienced this issue before and know a solution?

Thanks!  
Jelle

---

<div class="post-metadata">

**Author:** ![masshacker](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/masshacker/32/650_2.png) [@masshacker](https://forum.juce.com/u/masshacker)\
**Post date:** [March 12, 2022, 7:44am UTC](https://forum.juce.com/t/no-microphone-access-request/50562/2 "2022-03-12T07:44:15Z")

</div>

What entitlements are you using when you code sign the binary?  
This key should be in your entitlements file

```auto
<key>com.apple.security.device.audio-input</key>
<true/>

```

And the entitlements file should be passed to the code sign command with the --entitlements option.

---

<div class="post-metadata">

**Author:** ![jellebakker](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jellebakker/32/17053_2.png) [@jellebakker](https://forum.juce.com/u/jellebakker)\
**Post date:** [March 12, 2022, 7:24pm UTC](https://forum.juce.com/t/no-microphone-access-request/50562/3 "2022-03-12T19:24:11Z")

</div>

That was missing, thank you! Works properly now 🙂

---

<div class="post-metadata">

**Author:** ![masshacker](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/masshacker/32/650_2.png) [@masshacker](https://forum.juce.com/u/masshacker)\
**Post date:** [March 12, 2022, 8:36pm UTC](https://forum.juce.com/t/no-microphone-access-request/50562/4 "2022-03-12T20:36:07Z")

</div>

Nice 🥳

---

<div class="post-metadata">

**Author:** ![aleFX](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@aleFX](https://forum.juce.com/u/aleFX)\
**Post date:** [September 24, 2022, 1:07pm UTC](https://forum.juce.com/t/no-microphone-access-request/50562/5 "2022-09-24T13:07:04Z")

</div>

> [@masshacker](#):
>
> What entitlements are you using when you code sign the binary?  
> This key should be in your entitlements file
> 
> ```auto
> <key>com.apple.security.device.audio-input</key>
> <true/>
> 
> ```
> 
> And the entitlements file should be passed to the code sign command with the --entitlements option.

Hi, what is this entitlements file? Where can I find it? I’m having the same problem described above.  
(I’m using JUCE with CMake, not on XCode, macOS 12.6 Intel)

---

<div class="post-metadata">

**Author:** ![masshacker](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/masshacker/32/650_2.png) [@masshacker](https://forum.juce.com/u/masshacker)\
**Post date:** [September 25, 2022, 5:29pm UTC](https://forum.juce.com/t/no-microphone-access-request/50562/6 "2022-09-25T17:29:10Z")

</div>

I haven’t been using CMake in ages… If you’re using the Projucer, then the Projucer generates it for you.  
Otherwise you could create it by yourself (either from Xcode or in another way, it’s a simple xml file with a .entitlements file extension after all), then you’ll need to tell your Xcode project to use it as the entitlements file for your application.  
But I’m 99% sure that CMake can offer a way to do it for you.
