How do you convert an iPhone OSStatus code to something useful?

前端 未结 19 1452
执念已碎
执念已碎 2020-12-05 01:45

I am getting more than a little sick of this iPhone SDK and its documentation...

I am calling AudioConverterNew

in the documentation under Returns: it says \

19条回答
  •  有刺的猬
    2020-12-05 02:12

    Most time maybe you just need to find the error code in the .h files

    I just made a python script to find the code (when you debug/print a osstatus code)

    https://github.com/sprhawk/MyGist/blob/master/tools/find_osstatus_error.py

提交回复
热议问题