AVAudioEngine setup doesn't work with iPhone 14 Pro + Airpods Pro combination

I have an AVAudioEngine setup with VoiceProcessingEnabled that takes the input from mic and plays it on speaker. This works great with Airpods on other iPhone models except iPhone 14 (specifically tested on iPhone 14 Pro). In case of iPhone 14 Pro, there is no audio on the speaker at all. I am linking to a minimal sample app below to reproduce the issue. Please run this sample on iPhone 11 using Airpods Pro you will hear yourself speaking. But when you run the app on iPhone 14 Pro with Airpods Pro connected, you can't hear yourself. Any help will be appreciated. Cheers

Sample app: https://www.icloud.com/iclouddrive/07bC_sAZW8MAA2u5lHeHOoFPg#AudioEngineAirpodsTest

AVAudioEngine setup doesn't work with iPhone 14 Pro + Airpods Pro combination
 
 
Q