gpt4 book ai didi

objective-c - cmake : command not found on macOS

转载 作者:行者123 更新时间:2023-12-03 15:56:12 25 4
gpt4 key购买 nike

在我的 Podfile 中添加这一行后:

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

发生以下错误:
[!] /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

谁能帮我解决这个问题?

最佳答案

使用 Brew 安装 cmake

brew install cmake

关于objective-c - cmake : command not found on macOS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52531492/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com