I am trying to insert an AUv3 audio unit into the AudioKit chain. Here is my code:
AVAudioUnit.instantiate(with: componentDescription, options: []) { (unit, error) in
guard let audioUnit = unit as? AVAudioUnitMIDIInstrument else {return}
let node = AKAudioUnitInstrument(audioUnit: audioUnit)
self.mixer.connect(input: node)
The execution just hangs on the connect method without any errors.
Am I doing something wrong or does AudioKit not support AUv3 yet?
I am using AudioKit/Core (4.9.3)