xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
[!] Failed to load 'glog' podspec:
[!] Invalid `glog.podspec` file: undefined method `[]' for nil.
# from /Users/sword/Desktop/renphoHealth_rn/node_modules/react-native/third-party-podspecs/glog.podspec:38
# -------------------------------------------
# match = xcode_path.match(/Xcode (\d+)\.(\d+)/)
> major_version = match[1].to_i
# minor_version = match[2].to_i
# -------------------------------------------
sword@DeabeldeMacBook-Pro renphohealth % sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
sword@DeabeldeMacBook-Pro renphohealth % pod install
Cocoapods安装流程 2021.6一.安装RVM (1)安装RVM: curl -L get.rvm.io | bash -s stablesource ~/.bashrc , source ~/.bash_...