Today I met a weird exception from AUGraphStart().
Basically, I was running an old sample code written by myself. The main function is mix 2 audio files a playback them simultaneously. I worked fine before, but when I run it, I got this exception:
[00:23:58.425 <AURemoteIOServer>] AQMEIOBase::DoStartIO: timeout [00:23:58.701 <AURemoteIOServer>] AQMEDevice::StartIO: AudioOutputUnitStart returned -66681 [00:23:58.701 <0xa084a720>] AUIOClient_StartIO failed (-66681) AUGraphStart FFFEFB87
Obviously, it wasn’t came from my code, and I have no idea on this exception now. Did anybody get a same exception recently?
I had tried these:
1. Restart the XCode. — No effects.
2. Restart the machine(Mac Pro, 10.5.7), and restart the XCode. — No effects.
3. Reinstall the most recent SDK(Build 9M2735), restart the XCode. — No effects.
4. Set the base SDK to 2.2.1 and target to Simulator 2.2.1 Debug. — No effects.
It’s really odd!
Please, if anybody had met similar exception and got a solution, help me out!
Still don’t know how to resolve it now. I need help!
A week ago, Apple’s engineer had confirmed that they had a bug in UIKit framework.
We do have a simple workaround for this UIKit bug. In UILocalizedIndexedCollation.hm change this:
UIKIT_EXTERN @interface UILocalizedIndexedCollation : NSObject
UIKIT_EXTERN_CLASS @interface UILocalizedIndexedCollation : NSObject
Having done that, we can build your project and confirm that AUGraphStart returns 0 in the 3.0 simulator.
But, after I installed the 3.0 GM Version today, it’s still not included in the GM Version. So that means I still can not play audio in the simulator. I can ONLY do it on the device!