Previously I was able to change the sound output for the simulator from "I/O > Audio Output" and then select a different output device. After updating to the iOS 17, although it's showing that I've selected a different device for sound output, sound is always coming from the device that was selected as default in the system (from global system settings Sound option).