I updated to Xcode 10.1 (10B61) yesterday, and now my app, which doesn't use the microphone at all, is suddenly asking for microphone permission in the simulator. Haven't had a chance to try it on device.
Any ideas what's going on?
The only reason the app needs this is to detect when other apps are using sensors on your device. The app doesn't access your microphone or camera. If you're not taken to your Accessibility settings, follow the instructions below: Open “Settings” on your device.
Go to Settings > Privacy. Tap a hardware feature, such as Camera, Bluetooth, Local Network, or Microphone.
I've the same problem. Have you implemented the siri shortcuts?
edit: from apple:
On macOS 10.14, Simulator might prompt for Microphone access at launch or when first interacting with the microphone in a simulator (for example, by using Siri). If you decline permissions, simulator audio sessions will not be able to use audio input of any kind, regardless of the permissions granted inside a simulator. Use the macOS System Preferences, Security & Privacy preference pane to change this setting.
Your application must still be granted Microphone permission inside the simulator as well. macOS applies its permission policy to Simulator application as a whole, across all simulator runtime versions and all applications inside a simulator. Each simulator applies permission policies to individual applications just like devices. (40113388)
This is absolutely normal.
The SIMULATOR is itself a MacOS application, and as a MacOS application, it needs permission to use the MacOS microphone. That has nothing to do with your iOS app running on the simulator, which might or might not need permission to use the simulated microphone.
Give the simulator permission to access the MacOS microphone and you're fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With