Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Carthage errors "No tagged versions found for github"

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?

like image 206
marmaralone Avatar asked Jun 26 '15 09:06

marmaralone


2 Answers

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

github "Haneke/HanekeSwift" "master"

For instance.

like image 179
Kaolin Fire Avatar answered Nov 03 '22 16:11

Kaolin Fire


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

like image 2
alfwatt Avatar answered Nov 03 '22 15:11

alfwatt