Snowy Monkey

Building a software synth

Brief Fix for iPhone Simulator AudioOutputUnitStart -66681 Error July 4, 2009

Filed under: iphone,synth — snowy monkey @ 12:38 pm
Tags: , , ,

Recently, while trying to use RemoteIO on the iphone, I had to resort to using the device only for testing.  The simulator would give me a -66681 return code from AudioOutputUnitStart, whereas the device would work without problems.

Turns out theres a simple fix for that, detailed here.

Find UILocalizedIndexedCollation.h and change the line:
UIKIT_EXTERN @interface UILocalizedIndexedCollation : NSObject
to become
UIKIT_EXTERN_CLASS @interface UILocalizedIndexedCollation : NSObject

I made the change in both the iphone device and simulator SDKs (3.0 in my case).  I also reset my simulator.

One clean rebuild later and AudioOutputUnitStart worked perfectly.

Update: Actually, the error is back now and no combination of reseting, cleaning and rebuilding seems to fix it.  Crap.

Advertisement
 

3 Responses to “Brief Fix for iPhone Simulator AudioOutputUnitStart -66681 Error”

  1. Sijo Says:

    i tried this method. It didnt worked for me also. So any idea about how to fix this problem ? Thanks in advance..

  2. [...] audio, code, iphone I previously stated that I had a fix for the AudioOutputUnitStart -66681 error, then updated the post stating I’d [...]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.