-
npm install
oryarn
报错:
gyp: No Xcode or CLT version detected!
解决方案:
sudo rm -rf $(xcode-select -print-path)
xcode-select --install
-
xcode-select --install
报错:
"不能安装该软件,因为目前不可在软件服务器上使用它"
或者
Can't install the software because it is not currently available from the Software Update server.
解决方案:
- 升级xcode到最新版本,然后执行
xcode-select –install
- 去developer apple网站上手工下载
网友评论