XCode 13 framework references

Hello, I've noticed, that since Xcode 13 my framework classes references are not working. Even though the project compiles and works, the imported framework and it's classes references could not be found, also autocomplete for the methods is not working. The same behavior is for XCFramework and for the "Fat" framework. Any ideas on how to fix it, should the framework be built differently?