I cloned the project and the SPM was broken there. I removed the package dependency, but the error remains. And when I add the dependency again - I get this error. As I understand it, swiftpm was not in .gitignore. How can I solve this problem and add a dependency?
I saw this topic, but these steps didn't help me: Package.resolved file is corrupted or malformed