美文网首页
iOS开发:使用AVAudioPlayer,程序在prepare

iOS开发:使用AVAudioPlayer,程序在prepare

作者: 至于么_ni | 来源:发表于2017-12-01 10:41 被阅读0次

原因是:出现项目中加入了“断点”!  真特么逗~

The problem was I normally develop with a breakpoint set to "All Exceptions", and the actual exception thrown was __cxa_throw. Which apparently turns out to be in C++ libraries that are used to implement AVAudioPlayer. By changing the breakpoint to "All Objective-C Exceptions" the program ran fine. (This can be done by editing the breakpoint and changing the Exception field to Objective-C.

在  stackoverflow.com/ 网站上有相关bug解释!

  具体点看这  ----->   stackoverflow.com/search   膜拜大神!

把下图1所示的断点去掉就OK啦!

图1

相关文章

网友评论

      本文标题:iOS开发:使用AVAudioPlayer,程序在prepare

      本文链接:https://www.haomeiwen.com/subject/acmibxtx.html