上图:
这里写图片描述原因:使用了全局断点!
这里写图片描述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. 这里写图片描述
这里写图片描述
网友评论