Mac 編譯android系統異常error tool xcodebuild

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

build/core/combo/mac_version.mk:27: none of the installed SDKs (ac_sdk_versions_installed) match supported versions (10.14), trying 10.14

1、設置xcode-select到指定位置

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

2.驗證是否設置成功

xcode-select --print-path
/Applications/Xcode.app/Contents/Developer

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章