SwiftAudioPlayer
SwiftAudioPlayer copied to clipboard
App Crashes when integrated with SwiftUI
I have used Swift package manager to integrate SwiftAudioPlayer in my app and when I run it using
let url = URL(string: "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3")!
SAPlayer.shared.startRemoteAudio(withRemoteUrl: url)
SAPlayer.shared.play()
It crashes the app after 2-3 seconds for below reasons.
Any idea how to fix this up or am I missing any step?
Hey @pushkraj-lanjekar ! Did you find a solution to this?