It was not an issue on the previous (12.4) version and earlier.
XCFramework is created to include other frameworks by design https://help.apple.com/xcode/mac/11.4/#/dev6f6ac218b. That's weird why we have to use separate targets for this case from now on.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: