我的问题是有关如何解决丢失的脚本太旧或丢失的问题!
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for arm-apple-darwin-gcc... /Library/Developer/CommandLineTools/usr/bin/cc -arch armv7 -isysroot
checking whether the C compiler works... no
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'
/Users/henry/Library/Caches/CocoaPods/Pods/External/GLog/1bdd977745f69be933366dc3ed8fb579-a1d70/missing: Unknown `--is-lightweight' option Try `/Users/henry/Library/Caches/CocoaPods/Pods/External/GLog/1bdd977745f69be933366dc3ed8fb579-a1d70/missing
--help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: in `/Users/henry/Library/Caches/CocoaPods/Pods/External/GLog/1bdd977745f69be933366dc3ed8fb579-a1d70': configure: error: C compiler cannot create executables See `config.log' for more details
答案 0 :(得分:1)
iphoneos 的路径未设置。
在CLI上运行此命令进行设置:
sudo xcode-select --switch /Applications/Xcode.app