Xcode 13.2.1 Could not resolve package dependencies

I'm having issues trying to install any swift packages in Xcode 13.2, 13.2.1. I had to downgrade Xcode 13.3.1 back to Xcode 13.2+ because of a bug. Now the package I have won't resolve. Also I cannot add any packages regardless. I deleted the derived data, reset the packages in package dependencies, resolved the package version. I also used command line xcodebuild -resolvePackageDependencies, without success. Adding the swift package locally also doesn't work.

Could not resolve package dependencies:
Package.resolved file is corrupted or malformed; fix or delete the file to continue: unsupported schema version 2

Answered by cabralcole in 711160022

Deleting Package.resolved corrected the issue.

Accepted Answer

Deleting Package.resolved corrected the issue.

Xcode 13.2.1 Could not resolve package dependencies
 
 
Q