I am using a chart library and trying to run a demo. Before starting, I have to install the dependencies using Carthage. I go to the folder with the project folders and type in the terminal:
carthage update
I got the following error: -
Carthage requires git 2.3.0 or later.
How to establish the decency of Carthage and run the aforementioned demo.
Select Command Line Tools
Command Line Tools
Xcode -> Preferences -> Locations -> Command Line Tools
Not sure if this will help, but I ran into the same problem and found that xcodebuild was using another Xcode I installed.
so you can check which Xcode you are using: xcode-select --print-path
xcode-select --print-path
, : Carthage Swift
, XCode . , :
sudo xcode-select -s <path to Xcode>/Contents/Developer
:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
, git.
brew install git
"Target/usr/local/bin/git . ". :
brew link --overwrite git
. , - .
Source: https://habr.com/ru/post/1655587/More articles:What is the alternative to ControlGroup and Control in Angular2 GA / Final Release? - angularjsIOS Color Picker in Swift 3.0 - xcodeThe difference between the provision of the NgModule vs Component service - angularFiltering a unique constraint or similar tool - sqlCustom TableViewCell fires NSLayoutConstraint 'UIView-Encapsulated-Layout-Height' error - iosCombination of Java 8 Options with Conditional AND - javaWhy does Clojure support private functions in a macro? - macrosHow to handle async Start () errors in TopShelf - c #React Native Android, several instances of applications running at the same time that they exit the background state did not kill the application before - react-nativeNo php.ini with brew - phpAll Articles