ついに出ました!xcode6 GM!
今まで使っていたxcode6 beta5〜xcode6 beta7を捨てて、
xcode6 GMに変更していた際に
git コマンドが使えなくなるエラーが出ました。
エラー内容
git branch
xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer), missing xcrun at: /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun
git status
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
対策内容
pathの向き先がおかしいといった内容なので向き先を変えるため以下の
コマンドを実行
sudo xcode-select -switch /
結果
無事に解決!
git branch
master
* update_bra
git status
On branch update_an
nothing to commit, working directory clean