I had a working iOS app with Jukebox music library and background audio. However, an hour after everything was working well, the app started to crash with
libc++abi.dylib: terminating with uncaught exception of type NSException
every time I close the app. Usually the music used to continue playing in the background, but now the app crashes. I also opened an old project that was only working well, but the same error came up.
The app works well in the simulator, but not on the device.
I didn't post any code because I literally didn't change things in the old project at least for it not to work anymore and crash. What should I do? The outlets are good btw.
EDIT
Here's the stack trace:
What's weird is that I tried the app on my friend's iPhone 6 running 12.1 and it worked with no issue, however when I do it on my iPhone 6S running 12.1 it crashes. What do I do in this case?