iOS CocoaPods install 报错问题之一
2018-10-26 本文已影响46人
ITaoSk
给项目 cod install 提示一下错误。

[!] /bin/bash -c
set -e
sh build.sh cocoapods-setup
WARNING: The active Xcode command line tools, as returned by 'xcode-select -p', are not from Xcode.
The newest version of Xcode will be used instead.
Print: Entry, ":CFBundleVersion", Does Not Exist
终端运行
xcode-select -p

原因是 Xcode 默认启用版本地址处问题。可能是本人安装了两个版本的Xcode导致。
Xcode 快捷键: Command + ,

设置后终端再次运行:xcode-select -p

再次给项目 pod install 后发现成功install。