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
The same issue happens with Objective C code.
Previously musicPlayer = [[AVAudioPlayer alloc] init]; would work but will now cause a crash in iOS13. The crash happens later on when using one of the other init methods like initWithContentsOfURL.
Removing the [[AVAudioPlayer alloc] init] fixes the issue.