I use AVAudioRecorder to record, it worked fine on iOS 4 devices, but yesterday we found out recording is broken on iOS5. Using the iPhone 5 simulator I got fol
AVAudioRecorder
Just use a real device to test you code, and wait for the next update. I think that is your best choice.