我试图在我正在处理的项目中安装GEOSwift pod。该 pod 的依赖项之一是geos pod。每次运行时我都会收到以下错误pod install
。
Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Installing GEOSwift (0.3.0)
Installing geos (3.4.2)
[!] /bin/bash -c
set -e
type -P autoconf &>/dev/null || alias autoconf 'xcrun autoconf'
type -P autoheader &>/dev/null || alias autoheader 'xcrun autoheader'
type -P aclocal &>/dev/null || alias aclocal 'xcrun aclocal'
type -P automake &>/dev/null || alias automake 'xcrun automake'
type -P glibtool &>/dev/null || alias glibtool 'xcrun glibtool'
type -P glibtoolize &>/dev/null || alias glibtoolize 'xcrun glibtoolize'
sh autogen.sh
./configure
./tools/svn_repo_revision.sh
sed -i "" "s/\/\* #undef HAVE_INT64_T_64 \*\//#define HAVE_INT64_T_64 1/" include/geos/platform.h
sed -i "" "s/#define HAVE_LONG_INT_64 1/\/\* #undef HAVE_LONG_INT_64 \*\//" include/geos/platform.h
cat <<EOT >> include/geos/platform.h
#undef ISNAN
#define ISNAN(x) (std::isnan(x))
EOT
/bin/bash: line 5: alias: aclocal: not found
/bin/bash: line 5: alias: xcrun aclocal: not found