mac WARNING: 'missing' script is too old or missing

描述:

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

解决:
在终端中执行

sudo xcode-select --switch /Applications/Xcode.app

你可能感兴趣的:(mac WARNING: 'missing' script is too old or missing)