I am getting the following error when I click a cell in my table view.
The operation couldn’t be completed. (OSStatus error 2003334207
Only the latest recording URL plays other wise I get the above error.
Bad thing is it was working fine before.
I am getting the following error when I click a cell in my table view.
The operation couldn’t be completed. (OSStatus error 2003334207
Only the latest recording URL plays other wise I get the above error.
Bad thing is it was working fine before.
Not much to go on here in terms of details, but a couple of things:
So while that's great, it's not very helpful since the definition of the error is simply - "An unspecified error has occurred"
It may be helpful if you moved the "broken" code out of your table view handing into somewhere else where debugging the playback logic could be a little easier - ensure that the AVAudioSession is correctly setup, the URL is correct if for example calling initWithContentsOfURL: is where AVAudioFilePlayer is returning the above error and so on.
Not much to go on here in terms of details, but a couple of things:
So while that's great, it's not very helpful since the definition of the error is simply - "An unspecified error has occurred"
It may be helpful if you moved the "broken" code out of your table view handing into somewhere else where debugging the playback logic could be a little easier - ensure that the AVAudioSession is correctly setup, the URL is correct if for example calling initWithContentsOfURL: is where AVAudioFilePlayer is returning the above error and so on.
Thank you! 🙂
I was retrieving my url stored from the core data and somehow they got changed during the insertion.
Because of your answer I investigated, and was able to resolve the issue by retrieving the correct path using the file manager instead.
I am new and every little set back shatters the confidence. You made my day.
Thank you!🙂