简体   繁体   中英

Cocoapods . Unable to locate the executable `hg` error while pod install, core plot ,

user$ pod install

Analyzing dependencies

CocoaPods 0.21.0.rc1 is available.

Downloading dependencies

Installing CorePlot (1.2)

[!] Unable to locate the executable `hg`


Content of Podfile:
**********************
platform :ios

pod 'CorePlot',      '~> 1.2'
****************************

First result on Google (next time you may want to feel lucky)

You need Mercurial to install the CorePlot pod

brew install mercurial

will solve the issue (assuming you use brew already). Otherwise just install it from the Mercurial website .

Download mercurial manually from this url:

https://www.mercurial-scm.org/wiki/Download

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM