12

我的问题是关于如何解决丢失的脚本太旧或丢失的问题!

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
4

1 回答 1

70

The Path to iphoneos is not set. Run this on CLI to set it: sudo xcode-select --switch /Applications/Xcode.app

于 2019-01-07T10:11:59.163 回答