I have this error pop-up with the new xcode version ( mine is Version 12.4 (12D4e) ).
So the problem is this, I have added a framework to the Frameworks and Binaries sect