My App is crashing on iOS 13.1 when i trace a issue then found App is crashing because of AVAudioPlayer.
Below Is My Player Setup.
if le
Thanks, Rakesh! It's amazing! My game broke on iPhone with iOS 13.1.2. But in simulator it's work. On physical device - no! I read a lot of forums, online books, docs, etc.
And this small fix really helped me:
I changed var player = AVAudioPlayer() to var player: AVAudioPlayer!
p.s. guys wrote about problem with threads but this case is simpler