I am trying to copy an mp3 file from my Resources folder to a folder inside \"Documents\" folder of the app. On the simulator this works fine. But when I run it on a device,
That's the NSFileWriteNoPermissionError
:
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_Constants/Reference/reference.html
Somehow, you do have the wrong path and it's not letting you write there. You could also delete the app and try again, in case somehow your app documents directory was set to the wrong permissions...
I'd give us the line of code doing the copy, and print outs of each variable used in that line. Then we can see what the problem is.