环境

macOS Sierra 10.12

xcode 8.3.3

macaca doctor

~ macaca doctor

 macaca-doctor version: 2.0.1


 Node.js checklist:

 node env: /usr/local/bin/node
 node version: v8.1.2

 iOS checklist:

 Xcode Command Line Tools require version: 2347 and above
 xcodebuild version: 8.3.3
 iproxy[usbmuxd] is installed at: `/usr/local/bin/iproxy`
 ios_webkit_debug_proxy is installed at: `/usr/local/bin/ios_webkit_debug_proxy`
 carthage is installed, version: 0.23.0
➜  ~ xcode-select -v
xcode-select version 2345.1.
➜  ~ xcode-select -p
/Applications/Xcode.app/Contents/Developer
➜  ~ sudo xcode-select --install
Password:
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

xcode 更新到 8.3.3 了 xcode-select version 却还是 2345.1. 试着升级 xcode,卸载重新安装 xcode 也都不行,单下载 Command_Line_Tools_macOS_10.12_for_Xcode_8.3.dmg 安装也还是没能解决问题,请教有没有同学遇到这样的问题,怎么解决的, xcode-select 这个是可以设置环境变量之类的还是只要安装 xcode 就可以了。


↙↙↙阅读原文可查看相关链接,并与作者交流