I recently encountered a similar issue, so I wanted to share my experience for reference.
To get straight to the point, the cause turned out to be Xcode 16. When I switched to Xcode 15, the issue resolved.
Details of the Issue
I submitted an app containing an Audio Unit v3 Extension to the App Store. During review, AVAudioUnitComponentManager.shared().components(matching: description) returned nil, meaning the extension could not be found and the app crashed.
What’s strange is that this issue only occurred during the App Store review process. The app worked perfectly in the following scenarios:
Running on the macOS simulator
Installed on a physical device from the local development environment
Installed on a physical device via TestFlight
When I checked the app archive located at ~/Library/Developer/Xcode/Archives for the version submitted to the App Store, I confirmed that the .appex file was included, which suggested that the build itself had completed correctly.
However, on a hunch, I tried archiving and submitting the app using Xcode 15, and that resolved the issue.
In summary, it appears there is some kind of bug in Xcode 16. I hope this information is helpful to others.
Topic:
Media Technologies
SubTopic:
Audio
Tags: