svn 提交報xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist


svn 提交報如下錯誤 :

xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist

xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools.
See `man xcode-select` for more details.
 
出現這個錯誤一般要么是你當前的電腦上面安裝了連個xcode ,要么就是你更改了xcode的名稱 導致配置的路徑找不到了
你之前的xcode路徑改變了
 
解決辦法 只需要終端執行命令: sudo xcode-select —switch 當前使用的xcode路徑 ,即可


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM