What Frameworks and imports are necessary to use AVAudioPlayer on iOS?
#import <AVFoundation/AVAudioPlayer.h>
perhaps?
According to the Apple documentation, AVAudioPlayer has been available since iOS 2.2.
Make sure you're using the following import:
#import <AVFoundation/AVAudioPlayer.h>