Errors broke app after updating to Xcode 13

Solution 1:

In Xcode go to ->File then Packages and Update to Latest Package Versions.