I had the issue, but in an framework that was defined in my own codebase, rather than an external framework like UnityFramework, AVFoundation, etc. Since it was something that was in my code, I couldn't add and remove the framework as @codethislab suggests.
If anyone else is in this situation, my the solution was a fresh checkout from the Git repository. It's a bit annoying, as I'm losing some stashed code, but hey, at least I can upload to AppStoreConnect now 🤷♂️
Topic:
App & System Services
SubTopic:
Core OS
Tags: