ExtAudioFileRead throwing AVAudioSessionErrorCodeResourceNotAvailable error on iOS and iPadOS 18

Calls to ExtAudioFileRead are throwing OSStatus 561145203 (AVAudioSessionErrorCodeResourceNotAvailable) on iOS and iPadOS 18 -- earlier versions of iOS have not exhibited this behavior. This is a longstanding code path that has seen a spike of these error codes since iOS 18's release.

The following is also printed to the Xcode 16 console:

Hi, thanks for making this post. Our engineering teams need to investigate this issue. I'd greatly appreciate it if you could open a bug report, and post the FB number here once you do.

Bug Reporting: How and Why? has tips on creating your bug report.

@Media Engineer thank you for your response. This is reported with Feedback Assistant at FB15192173.

ExtAudioFileRead throwing AVAudioSessionErrorCodeResourceNotAvailable error on iOS and iPadOS 18
 
 
Q