I faced with issue when the AudioOutputUnitStart failed on start recording.
!!! I have already found the root cause without this returned code: it happens because of AVAudioSessionCategory was set incorrectly. !!!
But I spend a lot of time to find what means OSStatus = -66637, I also tried to convert this message to hex, byte(0xFFFEFBB3 = 11111111 11111110 11111011 10110011)
I know about this site: https://www.osstatus.com but there is no info about -66637(in all types of conversion) Also I have tried macerror, but there are no codes for iOS.
Could someone help to find what means -66637?
And logs in our project was done in printf format, so I print OSStatus like this: "%d",status, maybe it is not correct, could someone suggest the best way to print OSStatus from c++ code?
This question was very useful to me: How do you convert an IPhone OSStatus code to something useful? but even with all answers which was there, I couldn't find the one which could help me.