本文介绍了AVAudioRecorder 抛出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 AVAudioRecorder 录制,它在 iOS 4 设备上运行良好,但昨天我们发现在 iOS5 上录制失败.使用 iPhone 5 模拟器时出现以下错误:

I use AVAudioRecorder to record, it worked fine on iOS 4 devices, but yesterday we found out recording is broken on iOS5. Using the iPhone 5 simulator I got following error:

2011-08-02 11:09:03.586 Moodle[7832:10103] 加载错误/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn:dlopen(/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn,262):未找到符号:___CFObjCIsCollectable

你知道这个错误来自哪里以及如何解决这个问题吗?

Do you know where this error came from and how to fix this?

推荐答案

这个错误只是来自系统框架的控制台噪音,你应该忽略它,它不会影响你.如果您的应用程序崩溃或无法记录,真正的原因在别处.

This error is just console noise from a System framework, you should ignore it, it doesn't affect you. If your app is crashing or failing to record the real reason is elsewhere.

AVAudioRecorder 在 iOS 5 上运行良好,即使它在正常操作期间抛出(并捕获)异常,这使得调试更加困难.

AVAudioRecorder works just fine on iOS 5, even if it does throw (and catch) Exceptions during normal operations which make debugging harder.

这篇关于AVAudioRecorder 抛出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-28 21:29