Reputation: 209
I'm trying to use AvAudioRecorder to record some sound, then use AvAudioPlayer to play it.
This is the code guide I'm currently using. I implemented all the codes in the page correctly, when I click play it gives me
audioPlayer error: The operation couldn’t be completed. (OSStatus error 2003334207.)
Any idea how to fix this? The ios I'm using is 9.1.
Upvotes: 1
Views: 4559
Reputation: 39376
See if this is your problem: OSStatus error 2003334207 while re-buiding the App from Xcode 6
Also make sure that you are using a fileURL and not a plain URL.
Upvotes: 1