Carthage: Please update to the latest Carthage version: 0.26.2. You currently are on 0.26.0

Created on 4 Dec 2017  ·  8Comments  ·  Source: Carthage/Carthage

Hi

I tried many times to install the latest version of Carthage, I downloaded Cartage package 2.6.2 and upgraded my current version but It still not allow me to install in my Xcode project

Please update to the latest Carthage version: 0.26.2. You currently are on 0.26.0

question

Most helpful comment

Homebrew formula is not merged yet. You can try brew upgrade carthage --HEAD

All 8 comments

I got the same issue : "Please update to the latest Carthage version: 0.28.0. You currently are on 0.26.2". When I try to upgrade Carthage using brew, it shows "Error: carthage 0.28.0 already installed"

@abhijithp2018 Please run

  • which carthage
  • brew info carthage

@blender This is reproducible with the latest release 0.29.0. When I run carthage I got:

Please update to the latest Carthage version: 0.29.0. You currently are on 0.28.0

which carthage:

/usr/local/bin/carthage

brew info carthage

carthage: stable 0.28.0 (bottled), HEAD
Decentralized dependency manager for Cocoa
https://github.com/Carthage/Carthage
/usr/local/Cellar/carthage/0.28.0 (69 files, 26.7MB) *
  Poured from bottle on 2018-02-11 at 23:48:55
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/carthage.rb
==> Requirements
Build: xcode ✔
==> Options
--HEAD
    Install HEAD version
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions

I tried carthage update && brew upgrade carthage unsuccessfully 😢.

Homebrew formula is not merged yet. You can try brew upgrade carthage --HEAD

@blender Uhmm that is why. That made the trick 👍 thanks

@blender, I think you've got a couple of extra spaces there. It should be:
brew upgrade carthage --HEAD

You can run below command to update carthage to latest version,

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

To upgrade to the latest stable version via Homebrew: run brew upgrade carthage.

Alternatively, install a Carthage.pkg download from https://github.com/Carthage/Carthage/releases/.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pmhood picture pmhood  ·  3Comments

faustperic picture faustperic  ·  3Comments

CAPIStkidd picture CAPIStkidd  ·  3Comments

josercc picture josercc  ·  3Comments

JustinJiaDev picture JustinJiaDev  ·  3Comments