Playing sounds in the simulator activates the computers microphone

Originator:keithbsmiley
Number:rdar://34873653 Date Originated:07-Oct-2017 15:56
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 9.0 (9A235)
Classification:Other Bug Reproducible:Always
 
Summary:
Currently if you play a sound in the iOS simulator, the audio session also activates the microphone. This has the side effect of changing the input source from whatever it was previously set to, to the microphone on any connected bluetooth headphones, and often decreasing sound quality.

Steps to Reproduce:
1. Connect a pair of AirPods to your computer
2. Start playing some music
3. Play a sound on the iOS simulator using an AVAudioPlayer

Expected Results:
The music keeps playing at the same quality, and the sound plays temporarily over it

Actual Results:
The microphone is activated, which leads to worse sound quality of the music that's currently playing.

You can also see that the microphone is activated using one of these tools:

https://objective-see.com/products/oversight.html
https://www.obdev.at/products/microsnitch/index.html

Version:
Xcode 9.0 (9A235)

Notes:
Related:

- https://discussions.apple.com/message/31255072#31255072
- https://apple.stackexchange.com/questions/282705/airpods-extremely-poor-mic-quality-on-mac

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!