I am developing an app, which streams music from soundcloud. For this, I am using the AVQueuePlayer initialized with several AVPlayerItems. Everything works fine, until the app enters the background. It takes 1-2 minutes, then the playback stops and I get XCode debugging error code "Terminate due to signal 9". I looked up the memory and the app constantly needs ~25MB of memory. There are also several observers added to the AVQueuePlayer. I really can't help it, it's really annoying since the app should be able to play music when the device is locked etc.
Thanks in advance