Xcode- sound not playing on certain simulators.

A bit of a strange issue;

The sound plays correctly on the same page(settings screen) of my project, on all simulator devices. However on some devices it will play all sounds correctly and others none at all apart from those sounds on the settings screen.

As I have been developing my project the simulator devices that play correctly have changed but always the sounds work in the settings page but nowhere else on the devices that don't work correctly.

This is also the case on real devices. I am testing with an iPhone 7.
Xcode Version 12.4.
mac Big Sur Version 11.2.3
Update to this, I have discovered that if I open and close the application several times eventually the sound will work correctly. I still don't know what is causing this issue.
Xcode- sound not playing on certain simulators.
 
 
Q