Since the update to macOS Mojave, I get this alert every time I run on the simulator:
\"\" would like to access the microphone.
My app does not use microphone, it only plays videos. I was able to fix the alert popup by restricting Microphone access for Xcode in Security & Privacy -> Microphone