skip to Main Content

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


  1. Chosen as BEST ANSWER

    I fixed that due to next command:

    git config --global tag.forcesignannotated false
    

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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search