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?
Getting and Installing CMake on Your Computer On many systems, you may find that CMake is already installed or is available for installation with the standard package manager tool for the system. Cygwin, Debian, FreeBSD, OS X MacPorts, Mac OS X Fink, and many others all have CMake distributions.
You can check your CMake version by using the command cmake --version. cmake version 3.11.
Running CMake from the command line From the command line, cmake can be run as an interactive question and answer session or as a non-interactive program. To run in interactive mode, just pass the option “-i” to cmake. This will cause cmake to ask you to enter a value for each value in the cache file for the project.
macOS There are pre-compiled binaries available on the Download page for macOS as disk images and tarballs. After copying CMake.app into /Applications (or a custom location), run it and follow the “How to Install For Command Line Use” menu item for instructions to make the command-line tools (e.g. cmake ) available in the PATH .
The four most common reasons why you may see the “command not found” message in the Mac command line are as follows: the command you are attempting to run is not installed
The four most common reasons why you may see the “command not found” message in the Mac command line are as follows: the command syntax was entered incorrectly the command you are attempting to run is not installed the command was deleted, or, worse, the system directory was deleted or modified the ...
Once the binary is installed, run it on CMake as you would any other project. Typically this means selecting CMake as the Source directory and then selecting a binary directory for the resulting executables. There are pre-compiled binaries available on the Download page for macOS as disk images and tarballs.
Use Brew to install cmake
brew install cmake
Install Brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Use Brew to install cmake
brew install cmake
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With