In my case, I used wrong file extension of the recording file. I used the 'mp3' while when I try to record the voice, I used `kAudioFormatMPEG4AAC`, which means the 'm4a'.
So, you should use the same file extension of URL and the AVAudioRecorder.