Hi there. I am kicking the iPlug2 tires and having trouble with all “iOS-APP with AUv3” examples. The MacOS examples are all building fine, but the iOS examples crash upon launch (they seem to build fine).
The initial error is always:
Thread 1: “[[busArray objectAtIndexedSubscript:(NSUInteger)element] setFormat:format error:&nsErr]: returned false, error Error Domain=NSOSStatusErrorDomain Code=-10868 "(null)"”
The error seems to stem from line 90 within IPlugAUPlayer, which is the following:
#if PLUG_TYPE != 1
if (pluginInputFormat != nil)
[audioEngine connect:audioEngine.inputNode to:avAudioUnit format: micInputFormat];
#endif
So, it seems the issue is somehow connected with the AU format. I get the same error no matter what example I choose (as long as it is iOS).
Any ideas what might be going on? Thanks!
(BTW, I’m on an M1 MacBook Pro with Xcode 14.3.1)