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

Viewed 3849

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

2 Answers

I fixed that due to next command:

git config --global tag.forcesignannotated false

before starting to load the SPM change the version to minor and you are good to go.

Related