Local Swift Packages Stopped Working in Xcode 13
Quit Xcode Open Terminal Navigate to the directory where your .xcodeproj is via Terminal (cd path/to/your/apps/folder) Run xcodebuild -resolvePackageDependencies After the packages finish resolving, open Xcode and try building again.