macOS Mojave microphone permission dialog is shown for iOS app running inside a simulator

Originator:yuriypavlyshak
Number:rdar://45938209 Date Originated:2018-11-09
Status: Resolved:
Product:Simulator Product Version:
Classification: Reproducible:
 
Area:
Simulator

Summary:
iOS app that runs inside a simulator on macOS Mojave and uses microphone triggers macOS microphone permission dialog every time it runs.

Steps to Reproduce:
1. Run an app that uses microphone on a simulator

Expected Results:
The app only asks for microphone permission with iOS system alert inside the simulator when run for the first time. If permission is granted no alert is displayed.

Actual Results:
macOS Mojave system permission alert is displayed each time the iOS app is started inside simulator (see attached screenshot). Note that this permission alert is not for the simulator app but for iOS app that runs inside. This alert  blocks test execution in CI environment.

Version/Build:
macOS Mojave 10.14.1 (18B75)
Xcode 10.1 (10B61)

Configuration:

Comments

Iulian Onofrei

Any updates on this?

By revoltes666 at Nov. 28, 2018, 1:58 p.m. (reply...)

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!