I have an app, that is for many years in the AppStore and runs without any crashes (last deployment target iOS 12.4). I have some code for playing a sound on certain events
Just remove the initialisation and it will work
private var mySoundPlayer: AVAudioPlayer!
Cheers!!!