13
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[最新情報]Xcode6 GM seed導入で発生したエラー内容&解決方法

Last updated at Posted at 2014-09-10

ついに出ました!xcode6 GM!

スクリーンショット 2014-09-10 11.57.15.png

ダウンロードはこちら

今まで使っていた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
13
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?