FSRefs are not available on the phone at all. FSRefs are a way of reprsenting a file reference, for most purposes the preferred replacement for the is an NSURL with a file: scheme.
Having said that, there definitely is a SpeakHere example for the iPhone, it does not use FSRefs.
As for aqtest, I assume the code you are having issues with is:
FSRef fsref;
XThrowIfError(FSPathMakeRef(filePath, &fsref, NULL), "Input file not found");
XThrowIfError(AudioFileOpen(&fsref, fsRdPerm, 0, &myInfo.mAudioFile), "AudioFileOpen failed");
Like I said, FSRef is no longer the preferred way to handle file refs, and is not available on the phone, NSURL is. So change over to the URL based version:
NSString *pathString = [NSString stringWithCString: filePath];
if (!pathString) { printf("can't parse file path\n"); return; }
NSURL *url = [NSURL fileURLWithPath:pathString];
if (! url) { printf("can't make file url\n"); return; }
XThrowIfError(AudioFileOpenURL (url, kAudioFileReadPermission, 0/*inFileTypeHint*/, &myInfo.mAudioFil), "can't open file");
That should work on the phone, of course a lot of aqtest itself won't work on the phone, running commandline tools on the device is not supported after all.