開発したアプリなど一覧

OS X で Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo. とか出た時の対応

アフィリエイトリンクを含む場合があります

Vim から NeoBundleInstall したときに想定通りに動いてくれないので g:neobundle#log_filename からログファイルを生成し、:messages コマンドを見たら以下のようなエラーが出ていた。

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

このようなメッセージが出たら Xcode を実行してライセンスに同意する、もしくはターミナルより以下のコマンドを実行する。

$ sudo xcrun cc

そうするとライセンス文が表示されるので、スペースキーで読み進めて最後に agree を入力する。

By typing 'agree' you are agreeing to the terms of the software license agreements. Type 'print' to print them or anything else to cancel, [agree, print, cancel] agree

これで OK

Sponsored Link

コメント

タイトルとURLをコピーしました