After adding this line in my Podfile:

pod 'PiwikTracker', :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?

4 Answers

Use Brew to install cmake

brew install cmake 

Run the following command to install them:

sudo apt-get install build-essential cmake 
1

Install Brew

/usr/bin/ruby -e "$(curl -fsSL )" 

Use Brew to install cmake

brew install cmake 

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!

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy