I was working on the voice record feature for one of my upcoming iPhone apps, but when I would try to start recording the app would crash. During the adventure of debugging I couldn't trace anything back to my code as far as memory leaks, uninitialized properties, missing delegate methods, etc. After about an hour I think I almost as many NSLog entries as I did code. The two biggest troubling aspects where:
- prepareToRecord was the method that was failing
- AVAudioRecorder initialization wasn't throwing any errors