“SimulatorTrampoline.xpc” would like to access the microphone

drew.. picture drew.. · Apr 6, 2019 · Viewed 43.6k times · Source

I recently upgraded to Swift 5, Xcode version 10.2 (10E125), and after fixing a few compile issues on an app in progress, see this new and never-seen-before request. I can find no evidence of it in my project via direct searching, and no search returns on the net. No return from the pods within the project either.

This concerns me and wondered if anyone has any info on it.

Answer

Tim picture Tim · Apr 6, 2019

This is part of Apple's fix for radar 45715977, where Simulator devices would prompt repeatedly to access the microphone (as often as every time your app was run). You can find a brief reference to the fix in the Xcode 10.2 release notes.

There are no references in your project because the prompt comes from part of Xcode itself; it's there so that your apps can use audio services in the Simulator, rather than having to be run on a device. I wouldn't worry about it.