cmake: command not found

烂漫一生 提交于 2019-12-23 21:18:32

问题


After adding this line in my Podfile:

pod 'PiwikTracker', :git => 'https://github.com/manuroe/matomo-sdk-ios.git', :branch => 'feature/CustomVariables'  

The below error is occuring:

[!] /bin/bash -c 
set -e
echo `pwd`
sed -i '' 's/include <\(cmark.*\)>/include "\1"/' src/cmark.h
mkdir -p build; cd build && cmake -G Xcode ..

/Users/mac1/Library/Caches/CocoaPods/Pods/Release/cmark/0.24.1-ec027
/bin/bash: line 4: cmake: command not found

Can anyone help me with this issue?


回答1:


To use above library you can try as mention below :

You want to add pod 'PiwikTracker', '~> 4.4' similar to the following to your Podfile:

target 'MyApp' do
  pod 'PiwikTracker', '~> 4.4'
end

Then run a pod install inside your terminal, or from CocoaPods.app.

Alternatively to give it a test run, run the command:

pod try PiwikTracker

for more detail try this link : PiwikTracker

Hope this will helps!




回答2:


Run the following command to install them:

sudo apt-get install build-essential cmake 


来源:https://stackoverflow.com/questions/52531492/cmake-command-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!