I'm working with Xcode 10.1 (10B61) on an app that needs permission to use the microphone.
(Almost) Every time I start the app from Xcode (in simulator) I get a system popup:

> 
> "Appname" would like to access the microphone
>  "Privacy - Microphone Usage Description"">
> 
> 
> 

It doesn't matter if I select "Don't Allow" or "OK". This message keeps popping up.
How can I fix it?

Update [fixed]
==============

This issue seems to be fixed in Xcode 10.2
['https://Stackoverflow.com/questions/53432769', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2451537/']
You can get rid of this following this steps:

1. Go to "Security & Privacy" Settings on macOS.
2. Select "Microphone" on the left panel.
3. Uncheck the Xcode option on the right panel.
After looking for a workaround this one seems to fix it for me:
In Simulator go to Settings > Your App > Disable the Microphone Access

Update:
Not solving this issue but might be helpful:
You can dismiss the popup via Esc key - that should be way faster than clicking a button