Carthage errors "No tagged versions found for github"

3k views Asked by At

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

*** Cloning HanekeSwift
No tagged versions found for github "Haneke/HanekeSwift"

The Cartfile file contains these lines:

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

Why am I getting this error?

2

There are 2 answers

2
alfwatt On

Even when specifying the specific branch or ref, Carthage (before 0.17.1) required that the repository has at least one semantic version tag, e.g.:

git tag 0.1
git push --tags

See the carthage documentation for details on how version numbers are interpreted: https://github.com/Carthage/Carthage#tag-stable-releases

5
Kaolin Fire On

If the project has no tags, then you need to give it a branch or a ref.

github "Haneke/HanekeSwift" "master"

For instance.