AVAudioPlayer has been giving me the following error on some local MP3 files:
Error Domain=NSOSStatusErrorDomain Code=-54 "(null)"
I have an music player app for iOS which downloads license free zip files from specified URLs.
Once the zip file is downloaded, it is unzipped using a library called SSZipArchive.
In the Documents directory, a folder is created.
This folder will contain another set of folders as albums, then inside of them the unzipped mp3s as songs.
I was able to play entire albums without any issues.
Everything was going fine until I start downloading certain files.
I can confirm that the directory is correct.
I've looked for similar questions (osx), possibly stating that this is a permission error, but I haven't managed to make it work.
Does anyone know what this error is?
It seems to not be on any documentation either.