Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Repeated request for microphone permission on iOS Simulator

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 👍

like image 614
benrudhart Avatar asked Nov 22 '18 14:11

benrudhart


People also ask

How do I turn off IOS simulator?

Press Command + Q to quit the simulator. This will close all the apps running in the simulator. Pressing the home button only returns to the home screen without quitting the apps(ios 4 or later) because of multitasking.

How do I request microphone permission?

Here's how: Select Start > Settings > Privacy > Microphone . In Allow access to the microphone on this device, select Change and make sure Microphone access for this device is turned on.


1 Answers

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.
like image 180
jherran Avatar answered Sep 20 '22 17:09

jherran