Local Swift Packages Stopped Working in Xcode 13

  1. Quit Xcode

  2. Open Terminal

  3. Navigate to the directory where your .xcodeproj is via Terminal (cd path/to/your/apps/folder)

  4. Run xcodebuild -resolvePackageDependencies

  5. After the packages finish resolving, open Xcode and try building again.

Leave a Comment