swiftxcodeswift-package-manager

Package resolution failed. Couldn't get the list of tags


Can't add new dependency via SPM and always see this error enter image description here

fatal: bad numeric config value 'null' for 'tag.forcesignannotated': invalid unit

  1. Clean derived data, reset package caches, resolve package version, restart Xcode - not work.
  2. Xcode 12.5.1 and Xcode 13 - not work (this error above)
  3. Xcode 12.4 - kill Xcode and close it

But I can add dependency via cocoapods.

Please help


Solution

  • I fixed that due to next command:

    git config --global tag.forcesignannotated false