Sound emission during an XCUITest

Greetings everyone,

part of my XCUITest includes noise recognition and running voice commands.

However, I noticed that during my XCUITests on my real device, the sound emission is completely blocked, means that I can't hear or produce any sound while testing. I haven't tested it on any simulator yet, but would need a solution to this issue for my real device testing anyway.

Any takes on this?

Thanks in advance

Sound emission during an XCUITest
 
 
Q