Carthage Errors "No tags found for github"

I want to use Carthage in my projects, so I installed Carthage. I prepared the Cartfile file in the root folder of the project. When I typed the carthage update command in the terminal, I got this error:

*** Clone HanekeSwift
No tags found for github "Haneke / HanekeSwift"

The Cartfile contains the following lines:

 github "Alamofire/Alamofire" >= 1.2 github "Haneke/HanekeSwift" 

Why am I getting this error?

+11
source share
2 answers

If the project does not have tags, you need to provide it with a branch or link.

 github "Haneke/HanekeSwift" "master" 

For instance.

+27
source

Even when specifying a specific branch or link, Carthage (up to 0.17.1) required that there be at least one semantic version tag in the repository, for example:

 git tag 0.1 git push --tags 

Refer to the Carthage documentation for more information on how to interpret version numbers: https://github.com/Carthage/Carthage#tag-stable-releases.

+1
source

Source: https://habr.com/ru/post/989795/


All Articles