ios - 格洛格 : configure: WARNING: 'missing' script is too old or missing

标签 ios cocoapods glog

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

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

最佳答案

未设置 iphoneos 的路径。 在 CLI 上运行此命令进行设置: sudo xcode-select --switch/Applications/Xcode.app

关于ios - 格洛格 : configure: WARNING: 'missing' script is too old or missing,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53028367/

相关文章:

ios - 如何通过循环swift 5为scrollview内的imageView设置trailingAnchor.constraint

ios webview 在不同选项卡/webview中打开链接

ios - 即使问题已修复,CocoaPods 规范也会失败

ios - 我可以从 xcode 获取位置箭头、重新加载、搜索按钮吗?

objective-c - AFNetworking pod install 使用未解析的标识符方法

cocoapods - 更新到 Xcode 10.2 后如何修复 "Bus error 10"

c++ - 谷歌日志记录中的自定义日志级别

c++ - 卡住在 __write_nocancel

ios - react native axios 请求在 IOS 模拟器中不起作用